mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 23:47:04 +03:00
Made buttons update with the config.
This commit is contained in:
9
popup.js
9
popup.js
@@ -800,15 +800,6 @@ async function runThePopup() {
|
||||
function showNoticeAgain() {
|
||||
SB.config.dontShowNotice = false;
|
||||
|
||||
chrome.tabs.query({
|
||||
active: true,
|
||||
currentWindow: true
|
||||
}, function(tabs) {
|
||||
chrome.tabs.sendMessage(tabs[0].id, {
|
||||
message: "showNoticeAgain"
|
||||
});
|
||||
});
|
||||
|
||||
SB.showNoticeAgain.style.display = "none";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user