mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-05-11 10:26:23 +02:00
Hide skip to highlight right away when dismissing
This commit is contained in:
parent
bfa31429f1
commit
56bc3fca04
1 changed files with 2 additions and 0 deletions
|
@ -205,10 +205,12 @@ export default class Utils {
|
|||
|
||||
enableAutoHideAnimation(element: Element): void {
|
||||
element.classList.add("autoHiding");
|
||||
element.classList.add("hidden");
|
||||
}
|
||||
|
||||
disableAutoHideAnimation(element: Element): void {
|
||||
element.classList.remove("autoHiding");
|
||||
element.classList.remove("hidden");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue