diff --git a/js/lightbox.js b/js/lightbox.js index 8683b5fa2bf1b40d6b4e431157cb4a0c78662642..8085d1636d9b9d2639b939becf36e923dda6726a 100644 --- a/js/lightbox.js +++ b/js/lightbox.js @@ -543,6 +543,10 @@ var Lightbox = { Lightbox.changeImage(Lightbox.activeImage - 1); return false; }); } + // safari browsers need to have hide() called again + else { + $('#prevLink').hide(); + } // if not last image in set, display next image button if (Lightbox.activeImage != (Lightbox.imageArray.length - 1)) { @@ -550,6 +554,10 @@ var Lightbox = { Lightbox.changeImage(Lightbox.activeImage + 1); return false; }); } + // safari browsers need to have hide() called again + else { + $('#nextLink').hide(); + } this.enableKeyboardNav(); },