updated build, closed #451

This commit is contained in:
mourner 2012-06-18 12:30:39 +03:00
parent 8fa1a0632e
commit 44773a998c
4 changed files with 12 additions and 7 deletions

10
dist/leaflet-src.js vendored
View File

@ -5842,7 +5842,15 @@ L.Control.Layers = L.Control.extend({
link.href = '#';
link.title = 'Layers';
L.DomEvent.addListener(link, L.Browser.touch ? 'click' : 'focus', this._expand, this);
if (L.Browser.touch) {
L.DomEvent
.addListener(link, 'click', L.DomEvent.stopPropagation)
.addListener(link, 'click', L.DomEvent.preventDefault)
.addListener(link, 'click', this._expand, this);
}
else {
L.DomEvent.addListener(link, 'focus', this._expand, this);
}
this._map.on('movestart', this._collapse, this);
// TODO keyboard accessibility

3
dist/leaflet.css vendored
View File

@ -69,7 +69,8 @@
}
.leaflet-tile {
visibility: hidden;
filter: inherit;
visibility: hidden;
}
.leaflet-tile-loaded {
visibility: inherit;

4
dist/leaflet.ie.css vendored
View File

@ -1,7 +1,3 @@
.leaflet-tile {
filter: inherit;
}
.leaflet-vml-shape {
width: 1px;
height: 1px;

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long