Fix issue 964. Patch by bdkzero.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2082 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
a808ea61ef
commit
db95f77300
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue