Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create "click" event using an event constructor #14

Merged
merged 2 commits into from
Oct 11, 2013

Conversation

digitalfrost
Copy link
Contributor

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.

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.
@rvanlieshout
Copy link
Member

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.

rvanlieshout added a commit that referenced this pull request Oct 11, 2013
Create "click" event using an event constructor
@rvanlieshout rvanlieshout merged commit 37ec3ad into bluerail:master Oct 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants