diff options
author | Ajay <[email protected]> | 2022-01-14 14:57:46 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2022-01-14 14:57:46 -0500 |
commit | cf01679f1676c7901dcb0f9eff4b4c467bed641e (patch) | |
tree | 5f3b7062933c7a54d2914aa26c420d8cf732b1c7 /src | |
parent | 16f4ab53b6586985eb852a8e00641ec3068b18a0 (diff) | |
download | SponsorBlock-cf01679f1676c7901dcb0f9eff4b4c467bed641e.tar.gz SponsorBlock-cf01679f1676c7901dcb0f9eff4b4c467bed641e.zip |
null check for skip notice
Diffstat (limited to 'src')
-rw-r--r-- | src/content.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts index 5d61ffab..71a38dd1 100644 --- a/src/content.ts +++ b/src/content.ts @@ -265,7 +265,7 @@ function resetValues() { isAdPlaying = false; for (let i = 0; i < skipNotices.length; i++) { - skipNotices.pop().close(); + skipNotices.pop()?.close(); } skipButtonControlBar?.disable(); |