Skip to content

Add confirmation for closing window #463

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

Merged
merged 4 commits into from
Apr 17, 2019
Merged

Add confirmation for closing window #463

merged 4 commits into from
Apr 17, 2019

Conversation

nol166
Copy link
Contributor

@nol166 nol166 commented Apr 8, 2019

Describe in detail the problem you had and how this PR fixes it

Control W closes the browser window instantly without respect for unsaved work. This shows a prompt asking if you want to leave.

Is there an open issue you can link to?

#53

@nol166 nol166 requested a review from kylecarbs April 8, 2019 18:53
@nol166 nol166 requested a review from code-asher as a code owner April 8, 2019 18:53
@nol166 nol166 requested a review from code-asher April 9, 2019 15:42
@nol166 nol166 requested a review from kylecarbs April 9, 2019 15:49
@nol166 nol166 requested a review from code-asher April 11, 2019 20:45
@kylecarbs kylecarbs merged commit 50e6108 into master Apr 17, 2019
@kylecarbs kylecarbs deleted the prevent-close branch April 17, 2019 21:42
code-asher pushed a commit that referenced this pull request Jun 19, 2019
* Add confirmation for closing window

* Make function an event listener for consistency

* Change let to const

* Refactor for compatability
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.

4 participants