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:
Juan Tejada 2015-12-20 01:50:44 -08:00
parent 0b841dc5a8
commit 43ead58d32

View file

@ -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;