1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

Minor cleanups

This commit is contained in:
kkapsner 2017-11-07 19:51:49 +01:00
parent e8536f3104
commit ec1c5ae7d8
3 changed files with 4 additions and 3 deletions

View File

@ -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);
}
});

View File

@ -74,7 +74,8 @@
name,
{
get: settingDefinition.get,
set: settingDefinition.set
set: settingDefinition.set,
enumerable: true
}
);
});

View File

@ -1,4 +1,4 @@
/* eslint no-console: off */
(function(){
"use strict";