fix touch detection
This commit is contained in:
parent
18c45993fe
commit
f05b8f19c5
1 changed files with 1 additions and 1 deletions
|
@ -1045,7 +1045,7 @@ c3nav = {
|
|||
attributionControl: !window.mobileclient,
|
||||
});
|
||||
if (!window.mobileclient) c3nav.map.attributionControl.setPrefix($('#attributions').html());
|
||||
if (L.Browser.chrome && !('ontouchstart' in window)) {
|
||||
if (!('ontouchstart' in window || navigator.maxTouchPoints)) {
|
||||
$('.leaflet-touch').removeClass('leaflet-touch');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue