mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 10:00:18 +00:00
Merge "Trigger fullscreen-change event when closing lightbox interface"
This commit is contained in:
commit
e46338a4cd
|
@ -320,6 +320,9 @@
|
|||
gravity: this.correctEW( 'ne' )
|
||||
} )
|
||||
.click( function () {
|
||||
if ( ui.isFullscreen ) {
|
||||
ui.$main.trigger( $.Event( 'jq-fullscreen-change.lip' ) );
|
||||
}
|
||||
ui.unattach();
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in a new issue