aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.popup.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-10-20 16:57:47 -0400
committerScott González <scott.gonzalez@gmail.com>2011-10-20 16:57:47 -0400
commita0856efef3c392d413aa6cd9bd084dc601a337c6 (patch)
tree3a1f4a5aeea257fcf0d201f60fe259878e0a3c58 /ui/jquery.ui.popup.js
parentc145f1698aa4bfb8b0d1c94e2bfa83399f1de0f3 (diff)
downloadjquery-ui-a0856efef3c392d413aa6cd9bd084dc601a337c6.tar.gz
jquery-ui-a0856efef3c392d413aa6cd9bd084dc601a337c6.zip
Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.
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 70bf84be0..f6585b761 100644
--- a/ui/jquery.ui.popup.js
+++ b/ui/jquery.ui.popup.js
@@ -187,7 +187,7 @@ $.widget( "ui.popup", {
}
});
- this._bind(document, {
+ this._bind( this.document, {
click: function( event ) {
if ( this.isOpen && !$( event.target ).closest( this.element.add( this.options.trigger ) ).length ) {
this.close( event );