Fix issue 964. Patch by bdkzero.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2082 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Ahmad Syazwan 2012-05-23 10:33:22 +00:00
parent a808ea61ef
commit db95f77300
1 changed files with 1 additions and 1 deletions

View File

@ -5534,7 +5534,7 @@ var convertGradients = this.convertGradients = function(elem) {
var grad = this;
if($(grad).attr('gradientUnits') === 'userSpaceOnUse') {
// TODO: Support more than one element with this ref by duplicating parent grad
var elems = $(svgcontent).find('[fill=url(#' + grad.id + ')],[stroke=url(#' + grad.id + ')]');
var elems = $(svgcontent).find('[fill="url(#' + grad.id + ')"],[stroke="url(#' + grad.id + ')"]');
if(!elems.length) return;
// get object's bounding box