diff options
Diffstat (limited to 'content.js')
-rw-r--r-- | content.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -240,12 +240,12 @@ function videoIDChange(id) { resetValues(); - let channelIDPromise = wait(getChannelID); - channelIDPromise.then(() => channelIDPromise.isFulfilled = true).catch(() => channelIDPromise.isRejected = true) - //id is not valid if (!id) return; + let channelIDPromise = wait(getChannelID); + channelIDPromise.then(() => channelIDPromise.isFulfilled = true).catch(() => channelIDPromise.isRejected = true); + //setup the preview bar if (previewBar == null) { //create it |