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:
Jeff Schiller
2010-02-10 15:57:25 +00:00
parent 98fc062e47
commit 35bcecc669
3 changed files with 3 additions and 2 deletions

View File

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