aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.popup.js')
-rw-r--r--ui/jquery.ui.popup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.popup.js b/ui/jquery.ui.popup.js
index 10e6931b8..7ccf0ff2e 100644
--- a/ui/jquery.ui.popup.js
+++ b/ui/jquery.ui.popup.js
@@ -155,7 +155,7 @@ $.widget( "ui.popup", {
else {
//default use case, popup could be anything (e.g. a form)
this.element
- .bind( "keypress.ui-popup", function( event ) {
+ .bind( "keydown.ui-popup", function( event ) {
if ( event.keyCode !== $.ui.keyCode.TAB ) {
return;
}