Remove now unnecessary math check in cleanupElement(). Move line-height property to the CSS where it belongs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1369 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1066,7 +1066,7 @@ function BatchCommand(text) {
|
||||
}
|
||||
for(var attr in defaults) {
|
||||
var val = defaults[attr];
|
||||
if(element.localName != 'math' && element.getAttribute(attr) == val) {
|
||||
if(element.getAttribute(attr) == val) {
|
||||
element.removeAttribute(attr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user