Fixed variable name change

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@559 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-09-04 13:42:44 +00:00
parent b6970bf6db
commit 062fcebe70
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}