1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Page action message display and buttons.

This commit is contained in:
kkapsner 2017-07-02 12:21:16 +02:00
parent b6dd2ff011
commit 5576b54883
7 changed files with 156 additions and 13 deletions

View file

@ -15,7 +15,7 @@ function require(module){
on: function(key, callback){
browser.storage.onChanged.addListener(function(changes, area){
if (area === "local"){
if (changes[key]){
if (changes.hasOwnProperty(key)){
callback();
}
}