mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 12:07:11 +03:00
Fix skip to highlight option on mobile
This commit is contained in:
@@ -172,10 +172,10 @@ export class SkipButtonControlBar {
|
|||||||
const overlay = document.getElementById("player-control-overlay");
|
const overlay = document.getElementById("player-control-overlay");
|
||||||
|
|
||||||
if (overlay && this.enabled) {
|
if (overlay && this.enabled) {
|
||||||
if (overlay?.classList?.contains("pointer-events-off")) {
|
if (overlay?.classList?.contains("fadein")) {
|
||||||
this.hideButton();
|
|
||||||
} else {
|
|
||||||
this.showButton();
|
this.showButton();
|
||||||
|
} else {
|
||||||
|
this.hideButton();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user