Fixed layers control in IE7, closed #652
This commit is contained in:
parent
796105a9a4
commit
3c8495b6f3
@ -91,6 +91,7 @@ An in-progress version being developed on the master branch.
|
||||
* Fixed a bug where cursor would flicker when dragging a marker.
|
||||
* Fixed a bug where clickable paths on IE9 didn't have a hand cursor (by [naehrstoff](https://github.com/naehrstoff)). [#671](https://github.com/CloudMade/Leaflet/pull/671)
|
||||
* Fixed a bug in IE with disappearing icons when changing opacity (by [tagliala](https://github.com/tagliala) and [DamonOehlman](https://github.com/DamonOehlman)). [#667](https://github.com/CloudMade/Leaflet/pull/667) [#600](https://github.com/CloudMade/Leaflet/pull/600)
|
||||
* Fixed a bug where `Control.Layers` didn't work on IE7. [#652](https://github.com/CloudMade/Leaflet/issues/652)
|
||||
|
||||
#### Mobile browser bugfixes
|
||||
|
||||
|
@ -109,7 +109,7 @@
|
||||
for (var i = 0; i < scripts.length; i++) {
|
||||
document.writeln("<script src='" + path + scripts[i] + "'></script>");
|
||||
}
|
||||
document.writeln('<script defer=defer>L.Icon.Default.imagePath = "' + path + '../dist/images";</script>');
|
||||
document.writeln('<script>L.Icon.Default.imagePath = "' + path + '../dist/images";</script>');
|
||||
})();
|
||||
|
||||
function getRandomLatLng(map) {
|
||||
|
2
dist/leaflet-src.js
vendored
2
dist/leaflet-src.js
vendored
@ -5890,8 +5890,8 @@ L.Control.Layers = L.Control.extend({
|
||||
input.name = 'leaflet-base-layers';
|
||||
}
|
||||
input.type = obj.overlay ? 'checkbox' : 'radio';
|
||||
input.checked = this._map.hasLayer(obj.layer);
|
||||
input.layerId = L.Util.stamp(obj.layer);
|
||||
input.defaultChecked = this._map.hasLayer(obj.layer);
|
||||
|
||||
L.DomEvent.addListener(input, 'click', this._onInputClick, this);
|
||||
|
||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
@ -125,8 +125,8 @@ L.Control.Layers = L.Control.extend({
|
||||
input.name = 'leaflet-base-layers';
|
||||
}
|
||||
input.type = obj.overlay ? 'checkbox' : 'radio';
|
||||
input.checked = this._map.hasLayer(obj.layer);
|
||||
input.layerId = L.Util.stamp(obj.layer);
|
||||
input.defaultChecked = this._map.hasLayer(obj.layer);
|
||||
|
||||
L.DomEvent.addListener(input, 'click', this._onInputClick, this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user