pjparra/Fast-Confirm — pull request #2 by petercrabtree (2012-09-21 18:19:55+00:00)
Title: Fast-Confirm Bug Fix for Chrome

Hi,

I encountered an issue using eventToBind for "click" in Chrome (and possibly other browsers/events), where the event handler for popping up the display box was called when "yes" was clicked on the display box, causing "yes" to essentially do nothing.

I believe the fix I've added will avoid this issue without causing any issues in other browsers/situations, as the function I've modified to "return true" in such cases would normally not even get called (such as for "submit").