Permalink
Browse files

Dialog: Fix off() -> unbind() for jQuery 1.6 compat

Follows-up c9815f1.

Fixes #10072
Closes gh-1256
  • Loading branch information...
Krinkle authored and tjvantoll committed May 27, 2014
1 parent 796a8b3 commit 6c4005280d5f5b49de382e7e4992c1778f541f6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/dialog.js
View
@@ -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 );

0 comments on commit 6c40052

Please sign in to comment.