From 0a87c7ba7853106094c726bdbb0be807b034c3e2 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 14 Apr 2018 11:01:50 -0700 Subject: [PATCH] Allow availableSkins to be optional --- js/webamp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/webamp.js b/js/webamp.js index a5c060c4..bdfa9f74 100644 --- a/js/webamp.js +++ b/js/webamp.js @@ -83,7 +83,7 @@ class Winamp { "The misspelled option `avaliableSkins` is deprecated. Please use `availableSkins` instead." ); this.store.dispatch({ type: SET_AVAILABLE_SKINS, skins: avaliableSkins }); - } else { + } else if (availableSkins != null) { this.store.dispatch({ type: SET_AVAILABLE_SKINS, skins: availableSkins }); }