Skip to content

Commit

Permalink
fix double click in ie8
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Fedosov committed Jun 17, 2015
1 parent 7319be7 commit a94b64a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/DGGeoclicker/src/DGGeoclicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ DG.Geoclicker = DG.Handler.extend({
clearTimeout(this.pendingClick);
this.popupWasOpen = false;
}
},

dblclick: function(e) {
if (DG.Browser.ielt9) {
this.clickCount = 0;
this.popupWasOpen = false;
clearTimeout(this.pendingClick);
}
}
},

Expand Down

0 comments on commit a94b64a

Please sign in to comment.