bluerail/twitter-bootstrap-rails-confirm — pull request #14 by digitalfrost (2013-09-04 11:51:01+00:00)
Title: Create "click" event using an event constructor

The way the click event was being created is deprecated. An event constructor should be used instead:
https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Events/Creating_and_triggering_events

In addition using the event constructor fixes a scrolling bug where clicking the "OK" button in the
modal caused a scroll to the top of the page.