mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Minor cleanups
This commit is contained in:
parent
e8536f3104
commit
ec1c5ae7d8
@ -122,7 +122,7 @@
|
||||
|
||||
// hide page action when a tab is refreshed
|
||||
browser.tabs.onUpdated.addListener(function(tabId, data){
|
||||
if (data.status === "loading"){
|
||||
if (data.status && data.status === "loading"){
|
||||
browser.pageAction.hide(tabId);
|
||||
}
|
||||
});
|
||||
|
@ -74,7 +74,8 @@
|
||||
name,
|
||||
{
|
||||
get: settingDefinition.get,
|
||||
set: settingDefinition.set
|
||||
set: settingDefinition.set,
|
||||
enumerable: true
|
||||
}
|
||||
);
|
||||
});
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
/* eslint no-console: off */
|
||||
(function(){
|
||||
"use strict";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user