Make Volker's suggested change. Issue #831.
This commit is contained in:
parent
3473ccb613
commit
e14a8516d7
|
@ -37,8 +37,8 @@
|
||||||
// Get the URL of the page (for use with xlink:href) when there
|
// Get the URL of the page (for use with xlink:href) when there
|
||||||
// is a <base> element on the page.
|
// is a <base> element on the page.
|
||||||
//
|
//
|
||||||
var SVGURL = String(document.location).replace(/#.*$/,"");
|
var SVGURL = (document.getElementsByTagName("base").length === 0) ? "" :
|
||||||
if (document.getElementsByTagName("base").length === 0) SVGURL = "";
|
String(document.location).replace(/#.*$/,"");
|
||||||
|
|
||||||
SVG.Augment({
|
SVG.Augment({
|
||||||
HFUZZ: 2, // adjustments for height and depth of final svg element
|
HFUZZ: 2, // adjustments for height and depth of final svg element
|
||||||
|
|
Loading…
Reference in New Issue
Block a user