mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Sped up direct links a tiny bit.
This commit is contained in:
parent
0266bb49ca
commit
e75e588755
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ var previewResetter: NodeJS.Timeout = null;
|
|||
var controls = null;
|
||||
|
||||
// Direct Links after the config is loaded
|
||||
utils.wait(() => Config.config !== null).then(() => videoIDChange(getYouTubeVideoID(document.URL)));
|
||||
utils.wait(() => Config.config !== null, 1000, 1).then(() => videoIDChange(getYouTubeVideoID(document.URL)));
|
||||
|
||||
//the last time looked at (used to see if this time is in the interval)
|
||||
var lastTime = -1;
|
||||
|
|
Loading…
Reference in a new issue