Commit 0dfdb6f2 by Tomas Alabes

Using origin and pathname with gradient urls

parent 5398c90c
......@@ -142,7 +142,7 @@
}
}
$(o, {
fill: "url('" + document.location + "#" + id + "')",
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5557,7 +5557,7 @@
}
}
$(o, {
fill: "url('" + document.location + "#" + id + "')",
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
......
......@@ -5939,7 +5939,7 @@
}
}
$(o, {
fill: "url('" + document.location + "#" + id + "')",
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment