Skip to content

Commit

Permalink
Blind attemp to fix Edge dblclicks (side effects of Leaflet#5185) (Le…
Browse files Browse the repository at this point in the history
…aflet#5248)

Blind attempt to fix Edge dblclicks (side effects of Leaflet#5185)
  • Loading branch information
IvanSanchez authored and perliedman committed Jan 13, 2017
1 parent 007a63a commit 694da33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/DomEvent.DoubleTap.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ L.extend(L.DomEvent, {
var count;

if (L.Browser.pointer) {
if (!L.Browser.edge && e.pointerType === 'mouse') {
if ((!L.Browser.edge) || e.pointerType === 'mouse') {
return;
}
count = L.DomEvent._pointersCount;
Expand Down

0 comments on commit 694da33

Please sign in to comment.