Skip to content

Commit

Permalink
Compile build
Browse files Browse the repository at this point in the history
  • Loading branch information
carlsednaoui committed May 2, 2014
1 parent 7077804 commit 1495f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build/ouibounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ return function ouiBounce(el, config) {
callback();
}

var disableKeydown = false;
function handleKeydown(e) {
if(checkCookieValue('viewedOuibounceModal', 'true') && !aggressive) return;
if (disableKeydown || checkCookieValue('viewedOuibounceModal', 'true') && !aggressive) return;
else if(!e.metaKey || e.keyCode != 76) return;

disableKeydown = true;
fire();
callback();
}
Expand Down
2 changes: 1 addition & 1 deletion build/ouibounce.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1495f1d

Please sign in to comment.