Skip to content

Commit

Permalink
Cancel right click timeout on destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Walch committed Sep 28, 2016
1 parent 0bdcae3 commit 0e989b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/view/rightclick.js
Expand Up @@ -149,6 +149,7 @@ define([
},

destroy : function() {
clearTimeout(this._menuTimeout);
if(this.el) {
this.hideMenu();
this.elementUI.off();
Expand Down

0 comments on commit 0e989b2

Please sign in to comment.