mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 08:13:38 +00:00
Revert "Exit Lightbox when clicked on backdrop"
This reverts commit 4280dd8b83
.
After product discussion, we decided this was a bad idea. Sorry, Tony.
Change-Id: Ib59d75132c2a301f83d080b0f963e2a9d8b9b277
This commit is contained in:
parent
4280dd8b83
commit
3b71fecee5
|
@ -152,18 +152,12 @@
|
|||
};
|
||||
|
||||
LIP.initializeInterface = function () {
|
||||
var ui = this;
|
||||
this.initializeHeader();
|
||||
this.initializeNavigation();
|
||||
this.initializeButtons();
|
||||
this.initializeImage();
|
||||
this.initializeImageMetadata();
|
||||
this.initializeAboutLinks();
|
||||
this.$imageDiv.click( function ( e ) {
|
||||
if ( e.target.nodeName !== 'IMG' ) {
|
||||
ui.unattach();
|
||||
}
|
||||
} );
|
||||
};
|
||||
|
||||
LIP.initializeHeader = function () {
|
||||
|
|
Loading…
Reference in a new issue