gristmill/jquery-popbox — pull request #1 by knicklabs (2012-05-09 18:30:13+00:00)
Title: Prevent event propagation on close

Handy script, thanks a lot for making this. I put this in use today on a site today, but had one issue. When the close method was triggered by clicking on the close selector, the click event on the close selector was propagated, resulting in the page scrolling to the top.

I modified the script to pass the click event to the close method so that the event propagation could be stopped. I did not minify the modified script as I was unsure what you were using for magnification. If you accept this patch, the script will need to be minified.