mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 15:56:10 +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
0b841dc5a8
commit
43ead58d32
|
@ -63,10 +63,6 @@
|
|||
window.onfocus = function(e) {
|
||||
setNewMessages(false);
|
||||
}
|
||||
// Prevent window close
|
||||
window.onbeforeunload = function(e) {
|
||||
e.returnValue = false;
|
||||
};
|
||||
|
||||
// Load the intercom widget.
|
||||
var w = window;
|
||||
|
|
Loading…
Reference in a new issue