updated build, closed #451
This commit is contained in:
parent
8fa1a0632e
commit
44773a998c
10
dist/leaflet-src.js
vendored
10
dist/leaflet-src.js
vendored
@ -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
3
dist/leaflet.css
vendored
@ -69,7 +69,8 @@
|
||||
}
|
||||
|
||||
.leaflet-tile {
|
||||
visibility: hidden;
|
||||
filter: inherit;
|
||||
visibility: hidden;
|
||||
}
|
||||
.leaflet-tile-loaded {
|
||||
visibility: inherit;
|
||||
|
4
dist/leaflet.ie.css
vendored
4
dist/leaflet.ie.css
vendored
@ -1,7 +1,3 @@
|
||||
.leaflet-tile {
|
||||
filter: inherit;
|
||||
}
|
||||
|
||||
.leaflet-vml-shape {
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user