Commit f5d909be authored by ipetropolsky's avatar ipetropolsky

Fix #999: Add search string to gradient url

parent 3fb83189
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
return "url('#" + id + "')"; return "url('#" + id + "')";
} }
var location = document.location; var location = document.location;
return "url('" + location.origin + location.pathname + "#" + id + "')"; return "url('" + location.origin + location.pathname + location.search + "#" + id + "')";
}, },
updatePosition = function (o) { updatePosition = function (o) {
var bbox = o.getBBox(1); var bbox = o.getBBox(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 to comment