From 2503263e93b50beacce28ff629aa88fcd9dd3537 Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Sun, 20 Dec 2015 01:50:44 -0800 Subject: [PATCH] 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. --- static/feedback.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/static/feedback.html b/static/feedback.html index 70cb1a24e..717e4b2bd 100644 --- a/static/feedback.html +++ b/static/feedback.html @@ -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;