prettyPhoto is a jQuery based lightbox clone. Not only does it support images, it also add support for videos, flash, YouTube, iFrames. It’s a full blown media lightbox. The setup is easy and quick, plus the script is compatible in every major browser.
The close function was checking to see if the hashtag had been modified by prettyPhoto by checking indexOf. However it was checking to see if indexOf was true, not if it was not -1. -1 evals to true in these circumstances
The close function was checking to see if the hashtag had been modified by prettyPhoto by checking indexOf. However it was checking to see if indexOf was true, not if it was not -1. -1 evals to true in these circumstances