fix TileLayer.brintToFront/Back on IE6-8, close #1168
This commit is contained in:
parent
3d1bb11919
commit
bc4104c708
@ -166,7 +166,7 @@ L.TileLayer = L.Class.extend({
|
|||||||
|
|
||||||
_setAutoZIndex: function (pane, compare) {
|
_setAutoZIndex: function (pane, compare) {
|
||||||
|
|
||||||
var layers = pane.getElementsByClassName('leaflet-layer'),
|
var layers = pane.children,
|
||||||
edgeZIndex = -compare(Infinity, -Infinity), // -Infinity for max, Infinity for min
|
edgeZIndex = -compare(Infinity, -Infinity), // -Infinity for max, Infinity for min
|
||||||
zIndex, i, len;
|
zIndex, i, len;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user