From e63389cfa3bc4a0704dc526813cdbb07556b8abf Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Fri, 23 Aug 2019 20:52:12 -0400 Subject: [PATCH] Fixed buttons appearing too early not hidden (submit and clear button). --- content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content.js b/content.js index ce4ecf07..a1f4066c 100644 --- a/content.js +++ b/content.js @@ -254,8 +254,6 @@ function videoIDChange(id) { previousVideoID = id; } - addButtons(); - //close popup closeInfoMenu(); @@ -596,6 +594,8 @@ function addButtons() { function updateVisibilityOfPlayerControlsButton() { //not on a proper video yet if (!sponsorVideoID) return; + + addButtons(); if (hideVideoPlayerControls) { removePlayerControlsButton();