1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02: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);
}
});