Commit f803b084 authored by Tomas Alabes's avatar Tomas Alabes

Merge pull request #1025 from ipetropolsky/gradient-with-search

Fix #999: Gradient not filled when page's url contains "?" character
parents 98bfdf6c 8abe20ee
......@@ -10,7 +10,7 @@ require.config({
require(['raphael'], function(Raphael) {
var paper = Raphael(0, 0, 640, 720, "container");
paper.circle(100, 100, 100); //example
paper.circle(100, 100, 100).attr({'fill':'270-#FAE56B:0-#E56B6B:100'}); //example
// Work here
});
......@@ -160,7 +160,7 @@
return "url('#" + id + "')";
}
var location = document.location;
return "url('" + location.origin + location.pathname + "#" + id + "')";
return "url('" + location.origin + location.pathname + location.search + "#" + id + "')";
},
updatePosition = function (o) {
var bbox = o.getBBox(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.
......@@ -5575,7 +5575,7 @@
return "url('#" + id + "')";
}
var location = document.location;
return "url('" + location.origin + location.pathname + "#" + id + "')";
return "url('" + location.origin + location.pathname + location.search + "#" + id + "')";
},
updatePosition = function (o) {
var bbox = o.getBBox(1);
......
......@@ -5957,7 +5957,7 @@
return "url('#" + id + "')";
}
var location = document.location;
return "url('" + location.origin + location.pathname + "#" + id + "')";
return "url('" + location.origin + location.pathname + location.search + "#" + id + "')";
},
updatePosition = function (o) {
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