mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
Enable new windows via the URL hash
This commit is contained in:
parent
b27a9ea1b0
commit
92060fbb07
1 changed files with 5 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue