mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 00:59:29 +00:00
Clarify defaults
This commit is contained in:
parent
a104e35b36
commit
68f3d7b91c
2 changed files with 3 additions and 3 deletions
|
|
@ -12,8 +12,8 @@ if (hash) {
|
|||
}
|
||||
|
||||
// Turn on the incomplete playlist window
|
||||
export const skinUrl = skin;
|
||||
export const audioUrl = audio;
|
||||
export const skinUrl = config.skinUrl === undefined ? skin : config.skinUrl;
|
||||
export const audioUrl = config.audioUrl === undefined ? audio : config.audioUrl;
|
||||
export const playlistEnabled = config.playlist || false;
|
||||
export const noMarquee = config.noMarquee || false;
|
||||
export const hideAbout = config.hideAbout || false;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class Winamp {
|
|||
this.store.dispatch(loadFileFromReference(e.target.files[0]));
|
||||
});
|
||||
|
||||
if (this.options.initialTrack) {
|
||||
if (this.options.initialTrack && this.options.initialTrack.url) {
|
||||
this.store.dispatch(
|
||||
loadMediaFromUrl(
|
||||
this.options.initialTrack.url,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue