Skip to content

Commit

Permalink
Fix a rogue suppressEvent() exception
Browse files Browse the repository at this point in the history
  • Loading branch information
philc committed Jan 20, 2012
1 parent c522ba2 commit a264919
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vimiumFrontend.js
Expand Up @@ -402,7 +402,8 @@ function bubbleEvent(type, event) {
// We need to check for existence of handler because the last function call may have caused the release of
// more than one handler.
if (handlerStack[i] && handlerStack[i][type] && !handlerStack[i][type](event)) {
suppressEvent(event);
event.preventDefault();
event.stopPropagation();
return false;
}
}
Expand Down

0 comments on commit a264919

Please sign in to comment.