From 3b71fecee5cf2dd9f7f033a8693458a8bb83aa7d Mon Sep 17 00:00:00 2001 From: MarkTraceur Date: Wed, 5 Feb 2014 18:12:43 +0000 Subject: [PATCH] Revert "Exit Lightbox when clicked on backdrop" This reverts commit 4280dd8b83eab0a21b0e38387289274777588c5f. After product discussion, we decided this was a bad idea. Sorry, Tony. Change-Id: Ib59d75132c2a301f83d080b0f963e2a9d8b9b277 --- resources/mmv/mmv.lightboxinterface.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/resources/mmv/mmv.lightboxinterface.js b/resources/mmv/mmv.lightboxinterface.js index 37a6bf181..95c926430 100644 --- a/resources/mmv/mmv.lightboxinterface.js +++ b/resources/mmv/mmv.lightboxinterface.js @@ -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 () {