mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-17 03:44:25 +03:00
inPopup did not always work
This commit is contained in:
4
popup.js
4
popup.js
@@ -831,12 +831,8 @@ async function runThePopup() {
|
|||||||
|
|
||||||
//make the options div visible
|
//make the options div visible
|
||||||
function openOptions() {
|
function openOptions() {
|
||||||
if(inPopup) {
|
|
||||||
chrome.runtime.openOptionsPage();
|
|
||||||
} else {
|
|
||||||
chrome.runtime.sendMessage({"message": "openConfig"});
|
chrome.runtime.sendMessage({"message": "openConfig"});
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//make the options username setting option visible
|
//make the options username setting option visible
|
||||||
function setUsernameButton() {
|
function setUsernameButton() {
|
||||||
|
|||||||
Reference in New Issue
Block a user