Made buttons update with the config.

This commit is contained in:
Ajay Ramachandran
2020-01-09 20:29:20 -05:00
parent 9e89eb521a
commit d902cc5efe
3 changed files with 33 additions and 50 deletions

View File

@@ -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";
}