From a201c6fc01ca0d29684d19f89b9e4b0eda6e1ff0 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Tue, 22 May 2018 21:27:44 -0700 Subject: [PATCH] Feedback from PR --- src/hub.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hub.html b/src/hub.html index b72fa2461..84fdef5aa 100644 --- a/src/hub.html +++ b/src/hub.html @@ -19,8 +19,8 @@ <% } %> <script> - // HACK this has to run after A-Frame but before our bundle, since A-Frame blows away the local storage setting - if (/[&?]debug=true/.test(document.location.search) && typeof(localStorage) !== 'undefined') { + // HACK: this has to run after A-Frame but before our bundle, since A-Frame blows away the local storage setting + if (/[&?]debug=true/.test(window.location.search) && typeof localStorage !== "undefined") { localStorage.debug = "naf-janus-adapter:*"; } </script> -- GitLab