From 92060fbb07f4c43498b1b332973be3c4d1905ffe Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 10 Aug 2016 18:22:22 -0700 Subject: [PATCH] Enable new windows via the URL hash --- js/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/index.js b/js/index.js index ff2bf24e..62ae268d 100644 --- a/js/index.js +++ b/js/index.js @@ -15,8 +15,11 @@ import Hotkeys from './hotkeys'; import Skin from './components/Skin.jsx'; if (new Browser(window).isCompatible) { - const playlist = false; // Turn on the incomplete playlist window - const equalizer = false; // Turn on the incomplete equalizer window + const hash = window.location.hash; + // Turn on the incomplete playlist window + const playlist = hash.includes('playlist'); + // Turn on the incomplete equalizer window + const equalizer = hash.includes('equalizer'); const winamp = Winamp; const store = createStore( reducer,