mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 18:39:58 +00:00
TSLint compliance
This commit is contained in:
@@ -166,7 +166,7 @@ async function rebuildWhitelistMenus (urlString: string) {
|
|||||||
|
|
||||||
await browser.menus.update(whitelistMenuId, {
|
await browser.menus.update(whitelistMenuId, {
|
||||||
visible: url.origin !== "null"
|
visible: url.origin !== "null"
|
||||||
})
|
});
|
||||||
|
|
||||||
function addWhitelistMenuItem (pattern: string) {
|
function addWhitelistMenuItem (pattern: string) {
|
||||||
const menuId = browser.menus.create({
|
const menuId = browser.menus.create({
|
||||||
@@ -496,7 +496,7 @@ browser.menus.onClicked.addListener(async (info, tab) => {
|
|||||||
|
|
||||||
// Update options
|
// Update options
|
||||||
await browser.storage.sync.set({
|
await browser.storage.sync.set({
|
||||||
options: options
|
options
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user