aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rwxr-xr-xstatic/bigpipe.js6
1 files changed, 5 insertions, 1 deletions
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;