From 4c30f91c94eb739a6a82d49f635a0e2a21d73690 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 25 Aug 2017 07:23:30 +0200 Subject: Bugfix: Javascript code for stopping the current request moved into a try/catch block to prevent troubles with some creepy Microsoft browsers. --- static/bigpipe.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/bigpipe.js b/static/bigpipe.js index 7664d61..a27eec9 100755 --- a/static/bigpipe.js +++ b/static/bigpipe.js @@ -347,7 +347,11 @@ var BigPipe = (function() { }); }); - window.stop() || document.execCommand("Stop"); + try { + window.stop(); + } catch(e) { + document.execCommand('Stop'); + } BigPipe.pagelets = []; BigPipe.phase = 0; -- cgit v1.2.3