diff --git a/js/lightbox.js b/js/lightbox.js index 20afabb3402a3243093d120483d7338f2b8b4c7a..8f8741e976919ff7e1d63f4eb2881cacd8812784 100644 --- a/js/lightbox.js +++ b/js/lightbox.js @@ -250,7 +250,8 @@ var Lightbox = { // Setup onclick handlers. $('#overlay').click(function() { Lightbox.end(); return false; } ).hide(); - $('#lightbox, #loadingLink, #bottomNavClose').click(function() { Lightbox.end('forceClose'); return false;} ); + $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); + $('#loadingLink, #bottomNavClose').click(function() { Lightbox.end('forceClose'); return false; } ); $('#prevLink, #framePrevLink').click(function() { Lightbox.changeImage(Lightbox.activeImage - 1); return false; } ); $('#nextLink, #frameNextLink').click(function() { Lightbox.changeImage(Lightbox.activeImage + 1); return false; } ); $('#bottomNavZoom').click(function() { Lightbox.changeImage(Lightbox.activeImage, true); return false; } );