silence eslint
This commit is contained in:
parent
807ea6aa70
commit
87d28d3fc7
|
@ -300,7 +300,7 @@ function webNavUsercssInstallerFF(data) {
|
||||||
getTab(tabId),
|
getTab(tabId),
|
||||||
]).then(([pong, tab]) => {
|
]).then(([pong, tab]) => {
|
||||||
if (pong !== true && tab.url !== 'about:blank') {
|
if (pong !== true && tab.url !== 'about:blank') {
|
||||||
API_METHODS.installUsercss({direct: true}, {tab});
|
window.API_METHODS.installUsercss({direct: true}, {tab});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -425,7 +425,7 @@ function updateIcon({tab, styles}) {
|
||||||
|
|
||||||
|
|
||||||
function onRuntimeMessage(msg, sender, sendResponse) {
|
function onRuntimeMessage(msg, sender, sendResponse) {
|
||||||
const fn = API_METHODS[msg.method];
|
const fn = window.API_METHODS[msg.method];
|
||||||
if (!fn) return;
|
if (!fn) return;
|
||||||
|
|
||||||
// wrap 'Error' object instance as {__ERROR__: message},
|
// wrap 'Error' object instance as {__ERROR__: message},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user