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;
|
previousVideoID = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
addButtons();
|
|
||||||
|
|
||||||
//close popup
|
//close popup
|
||||||
closeInfoMenu();
|
closeInfoMenu();
|
||||||
|
|
||||||
@@ -596,6 +594,8 @@ function addButtons() {
|
|||||||
function updateVisibilityOfPlayerControlsButton() {
|
function updateVisibilityOfPlayerControlsButton() {
|
||||||
//not on a proper video yet
|
//not on a proper video yet
|
||||||
if (!sponsorVideoID) return;
|
if (!sponsorVideoID) return;
|
||||||
|
|
||||||
|
addButtons();
|
||||||
|
|
||||||
if (hideVideoPlayerControls) {
|
if (hideVideoPlayerControls) {
|
||||||
removePlayerControlsButton();
|
removePlayerControlsButton();
|
||||||
|
|||||||
Reference in New Issue
Block a user