mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
parent
f7ee8524b3
commit
62446d957e
@ -860,9 +860,8 @@ $.widget( "ui.dialog", {
|
||||
var overlays = this.document.data( "ui-dialog-overlays" ) - 1;
|
||||
|
||||
if ( !overlays ) {
|
||||
this.document
|
||||
.off( "focusin" )
|
||||
.removeData( "ui-dialog-overlays" );
|
||||
this._off( this.document, "focusin" );
|
||||
this.document.removeData( "ui-dialog-overlays" );
|
||||
} else {
|
||||
this.document.data( "ui-dialog-overlays", overlays );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user