Skip to content

Commit 6c40052

Browse files
Krinkletjvantoll
authored andcommitted
Dialog: Fix off() -> unbind() for jQuery 1.6 compat
Follows-up c9815f1. Fixes #10072 Closes gh-1256
1 parent 796a8b3 commit 6c40052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ return $.widget( "ui.dialog", {
843843

844844
if ( !overlays ) {
845845
this.document
846-
.off( "focusin" )
846+
.unbind( "focusin" )
847847
.removeData( "ui-dialog-overlays" );
848848
} else {
849849
this.document.data( "ui-dialog-overlays", overlays );

0 commit comments

Comments
 (0)