Skip to content

Commit

Permalink
gsuiPopup: fix, .elText.onkeypress/up/down -> stopPropagation
Browse files Browse the repository at this point in the history
  • Loading branch information
mr21 committed Jan 19, 2017
1 parent c266378 commit 2c79d36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gs-ui-components.min.js

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

5 changes: 5 additions & 0 deletions src/gsuiPopup/gsuiPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ function gsuiPopup( el ) {
that.type === "prompt" ? that.elText.value : undefined );
return false;
};
this.elText.onkeypress =
this.elText.onkeydown =
this.elText.onkeyup = function( e ) {
e.stopPropagation();
};
};

gsuiPopup.prototype = {
Expand Down

0 comments on commit 2c79d36

Please sign in to comment.