Fixing the layer visibility UI. IE <= 8 didn't deal with the invalid markup very well.

--HG--
branch : 1.x
This commit is contained in:
Nathan Heskew
2011-03-31 12:27:48 -07:00
parent 4f6a021beb
commit 60b68312c2

View File

@@ -32,7 +32,7 @@
layer.data("widgets", layersWidgets);
}
else {
layer = $("<li class=\"widgets-empty-layer" + ((layers[i].id == currentLayerId && " widgets-this-layer") || "") + "\">" + layers[i].name + " <span>[empty]<span></li>");
layer = $("<li class=\"widgets-empty-layer" + ((layers[i].id == currentLayerId && " widgets-this-layer") || "") + "\">" + layers[i].name + " <span>[empty]</span></li>");
}
visContainer.append(layer);