From d6c55d142e0cfc89e78844e26396682d5d2f63fa Mon Sep 17 00:00:00 2001 From: Andrew Ryabinin Date: Fri, 6 Dec 2013 14:57:17 +0200 Subject: [PATCH] Update svg.filter.js When somebody use tag on your page filters don't working, because changes the way how element start searching filters urls, so we need to add page url behind the filter id. --- svg.filter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svg.filter.js b/svg.filter.js index 25f4fa6..55b2a83 100644 --- a/svg.filter.js +++ b/svg.filter.js @@ -112,7 +112,7 @@ } // Default string value , toString: function() { - return 'url(#' + this.attr('id') + ')' + return 'url(' + window.location.href + '#' + this.attr('id') + ')' } })