Fixed inverted if.
This commit is contained in:
parent
d58c7945a7
commit
76ef04125f
2 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,7 @@ const MakaiDevIndex = npInterval => {
|
|||
const updateIndexNowListening = () => {
|
||||
getNowListening(info => {
|
||||
if(!indexLastNp || indexLastNp.url != info.url || indexLastNp.now_playing != info.now_playing) {
|
||||
if(!indexLastNp)
|
||||
if(indexLastNp)
|
||||
originalHeaderBackground = getRandomHeaderBackground();
|
||||
indexLastNp = info;
|
||||
} else return;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include elem.js
|
||||
#include ascii.js
|
||||
#include dev-index.js
|
||||
#include dev-home.js
|
||||
|
|
Loading…
Reference in a new issue