diff --git a/content.js b/content.js index 5775abc1..bbfc0e11 100644 --- a/content.js +++ b/content.js @@ -206,6 +206,7 @@ function videoIDChange(id) { previousVideoID = id; }); } else { + //set the previous id now, don't wait for chrome.storage.get previousVideoID = id; } @@ -1190,4 +1191,4 @@ function getYouTubeVideoStartTime(url) { } return startTime; -} \ No newline at end of file +}