Better fix for Issue 769: Text tool defaults to white in FF4

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1961 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2011-01-31 20:27:05 +00:00
parent f639150fed
commit 846ee8eca1
1 changed files with 2 additions and 2 deletions

View File

@ -8697,8 +8697,8 @@ var changeSelectedAttributeNoUndo = function(attr, newValue, elems) {
var old_w = getBBox(elem).width;
elem.textContent = newValue;
// FF bug occurs on on transformed elements
if(elem.getAttribute('transform')) {
// FF bug occurs on on rotated elements
if(/rotate/.test(elem.getAttribute('transform'))) {
elem = ffClone(elem);
}