From e75e58875512bf0ca05426b4632836165cc7cfb8 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Wed, 19 Feb 2020 12:37:17 -0500 Subject: [PATCH] Sped up direct links a tiny bit. --- src/content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index c9e2f6e0..0427abdd 100644 --- a/src/content.ts +++ b/src/content.ts @@ -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;