TSLint compliance

This commit is contained in:
hensm
2019-05-02 05:25:27 +01:00
committed by Matt Hensman
parent 4de8427819
commit 418679f7de

View File

@@ -166,7 +166,7 @@ async function rebuildWhitelistMenus (urlString: string) {
await browser.menus.update(whitelistMenuId, {
visible: url.origin !== "null"
})
});
function addWhitelistMenuItem (pattern: string) {
const menuId = browser.menus.create({
@@ -496,7 +496,7 @@ browser.menus.onClicked.addListener(async (info, tab) => {
// Update options
await browser.storage.sync.set({
options: options
options
});
}
});