fix IE9 regression (sorry!)
This commit is contained in:
parent
968aece11e
commit
2aa30376db
@ -9,7 +9,7 @@ An in-progress version being developed on the master branch.
|
||||
|
||||
* No changes since the stable version yet.
|
||||
|
||||
## 0.4.3 (August 7, 2012)
|
||||
## 0.4.4 (August 7, 2012)
|
||||
|
||||
### Improvements
|
||||
|
||||
|
@ -111,7 +111,7 @@
|
||||
for (var i = 0; i < scripts.length; i++) {
|
||||
document.writeln("<script src='" + path + scripts[i] + "'></script>");
|
||||
}
|
||||
document.writeln('<script>L.Icon.Default.imagePath = "' + path + '../dist/images";</script>');
|
||||
document.writeln('<script defer>L.Icon.Default.imagePath = "' + path + '../dist/images";</script>');
|
||||
})();
|
||||
|
||||
function getRandomLatLng(map) {
|
||||
|
10
dist/leaflet-src.js
vendored
10
dist/leaflet-src.js
vendored
@ -21,7 +21,7 @@ if (typeof exports !== undefined + '') {
|
||||
window.L = L;
|
||||
}
|
||||
|
||||
L.version = '0.4.3';
|
||||
L.version = '0.4.4';
|
||||
|
||||
|
||||
/*
|
||||
@ -7384,9 +7384,11 @@ L.Map.mergeOptions({
|
||||
zoomAnimation: L.DomUtil.TRANSITION && !L.Browser.android23 && !L.Browser.mobileOpera
|
||||
});
|
||||
|
||||
L.Map.addInitHook(function () {
|
||||
L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
|
||||
});
|
||||
if (L.DomUtil.TRANSITION) {
|
||||
L.Map.addInitHook(function () {
|
||||
L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
|
||||
});
|
||||
}
|
||||
|
||||
L.Map.include(!L.DomUtil.TRANSITION ? {} : {
|
||||
|
||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
@ -14,4 +14,4 @@ if (typeof exports !== undefined + '') {
|
||||
window.L = L;
|
||||
}
|
||||
|
||||
L.version = '0.4.3';
|
||||
L.version = '0.4.4';
|
||||
|
@ -2,9 +2,11 @@ L.Map.mergeOptions({
|
||||
zoomAnimation: L.DomUtil.TRANSITION && !L.Browser.android23 && !L.Browser.mobileOpera
|
||||
});
|
||||
|
||||
L.Map.addInitHook(function () {
|
||||
L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
|
||||
});
|
||||
if (L.DomUtil.TRANSITION) {
|
||||
L.Map.addInitHook(function () {
|
||||
L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
|
||||
});
|
||||
}
|
||||
|
||||
L.Map.include(!L.DomUtil.TRANSITION ? {} : {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user