Closed digitalfrost closed 10 years ago
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.
Thanks for your pull request! I'll give it a test run soon and release a new version. Shoudn't we change line 56 for this too? It now checks for something that isn't used.
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.