Currently we can kill the lightbox by either clicking "quit" or clicking above or below the box, but the sides of #lightbox overlap #overlay.
The problem lies into the size of #lightbox : width: 100% while all the sizes needed to adjust it are known (document.body.offsetWidth AND imgWidth)

The attached one-liner patch does this; in resizeImageContainer it :
1) sets the div size to the width of the image
2) sets the left css property to center the div

CommentFileSizeAuthor
jlightbox_exit_on_sides.patch570 bytesdrzraf