aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2014-05-27 20:22:14 +0200
committerTJ VanToll <tj.vantoll@gmail.com>2014-05-27 16:05:04 -0400
commit6c4005280d5f5b49de382e7e4992c1778f541f6c (patch)
tree699e2374a619880173c0e0e4be59d74a2ae26d8a
parent796a8b37e2b7eae6aa0f7a2fcaa5d8c29331e857 (diff)
downloadjquery-ui-6c4005280d5f5b49de382e7e4992c1778f541f6c.tar.gz
jquery-ui-6c4005280d5f5b49de382e7e4992c1778f541f6c.zip
Dialog: Fix off() -> unbind() for jQuery 1.6 compat
Follows-up c9815f13b487d027ef9b. Fixes #10072 Closes gh-1256
-rw-r--r--ui/dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/dialog.js b/ui/dialog.js
index 12dc1da65..358000881 100644
--- a/ui/dialog.js
+++ b/ui/dialog.js
@@ -843,7 +843,7 @@ return $.widget( "ui.dialog", {
if ( !overlays ) {
this.document
- .off( "focusin" )
+ .unbind( "focusin" )
.removeData( "ui-dialog-overlays" );
} else {
this.document.data( "ui-dialog-overlays", overlays );