mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-27 10:22:35 +02:00
Merge branch 'master' of github.com:systemed/iD
This commit is contained in:
@@ -59,7 +59,7 @@ iD.Style.styleClasses = function() {
|
||||
selection.each(function(d) {
|
||||
var classes, value = this.className;
|
||||
|
||||
if (value.baseVal !== null) value = value.baseVal;
|
||||
if (value.baseVal !== undefined) value = value.baseVal;
|
||||
|
||||
classes = value.trim().split(/\s+/).filter(function(name) {
|
||||
return name.length && !tagClassRe.test(name);
|
||||
|
||||
Reference in New Issue
Block a user