aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-03-27 18:45:21 -0400
committerAjay <[email protected]>2022-03-27 18:45:21 -0400
commit2a64499ba9e9da0ae69d50490a9513c37a614c35 (patch)
tree069df524bfa9307d345c4870720b7fb1b1978f19
parentbb901be43ffeeac8335e14033fb844f02fae7aaa (diff)
downloadSponsorBlock-2a64499ba9e9da0ae69d50490a9513c37a614c35.tar.gz
SponsorBlock-2a64499ba9e9da0ae69d50490a9513c37a614c35.zip
Fix error
-rw-r--r--src/content.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts
index 3eb4a78d..1cfd8669 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -90,7 +90,7 @@ let skipButtonControlBar: SkipButtonControlBar = null;
let categoryPill: CategoryPill = null;
/** Element containing the player controls on the YouTube player. */
-let controls: HTMLElement | null = null;
+const controls: HTMLElement | null = null;
/** Contains buttons created by `createButton()`. */
const playerButtons: Record<string, {button: HTMLButtonElement, image: HTMLImageElement, setupListener: boolean}> = {};