summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStella Power2008-06-06 15:34:44 (GMT)
committer Stella Power2008-06-06 15:34:44 (GMT)
commita3ea325f55c0d54976805fbfaae99fd1154208fd (patch)
tree9f3b9c1a4b6174d911f6b341d86ed99b539649bc
parent9ac5d0b7b33bddb46332793c63f8d43dd217119f (diff)
Fixed issue recently introduced where clicking on the "view image details" link
stopped working.
-rw-r--r--js/lightbox.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/lightbox.js b/js/lightbox.js
index 20afabb..8f8741e 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; } );