mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 04:57:09 +03:00
Fixed buttons appearing too early not hidden (submit and clear button).
This commit is contained in:
@@ -254,8 +254,6 @@ function videoIDChange(id) {
|
||||
previousVideoID = id;
|
||||
}
|
||||
|
||||
addButtons();
|
||||
|
||||
//close popup
|
||||
closeInfoMenu();
|
||||
|
||||
@@ -597,6 +595,8 @@ function updateVisibilityOfPlayerControlsButton() {
|
||||
//not on a proper video yet
|
||||
if (!sponsorVideoID) return;
|
||||
|
||||
addButtons();
|
||||
|
||||
if (hideVideoPlayerControls) {
|
||||
removePlayerControlsButton();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user