From 04942a3a5d5c8314485f5055de39aa1642ea61e2 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sat, 11 Jan 2020 13:35:20 -0500 Subject: [PATCH] Fixed delete button potentially appearing. --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index f3b96fe0..72dbac22 100644 --- a/content.js +++ b/content.js @@ -721,7 +721,7 @@ async function changeStartSponsorButton(showStartSponsor, uploadButtonVisible) { await wait(isSubmitButtonLoaded); //if it isn't visible, there is no data - let shouldHide = (uploadButtonVisible && !SB.config.hideDeleteButtonPlayerControls) ? "unset" : "none" + let shouldHide = (uploadButtonVisible && !(SB.config.hideDeleteButtonPlayerControls || onInvidious)) ? "unset" : "none" document.getElementById("deleteButton").style.display = shouldHide; if (showStartSponsor) {