From 8629e6f4fb8ffd9c517ae87cba754ea4567893a8 Mon Sep 17 00:00:00 2001 From: Jonathan Freeman Date: Wed, 18 Feb 2015 09:30:54 -0600 Subject: [PATCH] Safeguard IE against console.log Shielding a reference to `window.console.log`. Fixes the ability to use this page in IE without the inspector open. Fixes #1209. --- static/debug.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/debug.html b/static/debug.html index df6828941..89389c142 100644 --- a/static/debug.html +++ b/static/debug.html @@ -23,7 +23,7 @@ if (info.dump && window.console) window.console.log(info.dump); }, complete: function() { - window.console.log('Skipped ' + this.skipped + ' tests'); + if (window.console) window.console.log('Skipped ' + this.skipped + ' tests'); }, store: function() {}, skipped: 0,