From 062fcebe7054edd4fead1182a18fbfed29b51aba Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Fri, 4 Sep 2009 13:42:44 +0000 Subject: [PATCH] Fixed variable name change git-svn-id: http://svg-edit.googlecode.com/svn/trunk@559 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 17da92c5..f7a74907 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -2787,7 +2787,7 @@ function BatchCommand(text) { // Use the Firefox quickClone hack for text elements with gradients or // where other text attributes are changed. if(elem.nodeName == 'text') { - if((val+'').indexOf('url') == 0 || $.inArray(attr, ['font-size','font-family','x','y']) != -1) { + if((newValue+'').indexOf('url') == 0 || $.inArray(attr, ['font-size','font-family','x','y']) != -1) { elem = canvas.quickClone(elem); } }