mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 09:38:07 +08:00
fix(feedback-window): Remove handler that prevented window from closing
- Fixes #773 - window.onbeforeunload inside feedback window was returning false and preventing the window from being closed.
This commit is contained in:
parent
d5e9397879
commit
2503263e93
1 changed files with 0 additions and 4 deletions
|
@ -63,10 +63,6 @@
|
||||||
window.onfocus = function(e) {
|
window.onfocus = function(e) {
|
||||||
setNewMessages(false);
|
setNewMessages(false);
|
||||||
}
|
}
|
||||||
// Prevent window close
|
|
||||||
window.onbeforeunload = function(e) {
|
|
||||||
e.returnValue = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Load the intercom widget.
|
// Load the intercom widget.
|
||||||
var w = window;
|
var w = window;
|
||||||
|
|
Loading…
Reference in a new issue