mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 12:07:11 +03:00
null check for skip notice
This commit is contained in:
@@ -265,7 +265,7 @@ function resetValues() {
|
|||||||
isAdPlaying = false;
|
isAdPlaying = false;
|
||||||
|
|
||||||
for (let i = 0; i < skipNotices.length; i++) {
|
for (let i = 0; i < skipNotices.length; i++) {
|
||||||
skipNotices.pop().close();
|
skipNotices.pop()?.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
skipButtonControlBar?.disable();
|
skipButtonControlBar?.disable();
|
||||||
|
|||||||
Reference in New Issue
Block a user