mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
Removed warning about unknown property.
This commit is contained in:
parent
6c47397d46
commit
bec157391d
@ -141,7 +141,7 @@
|
||||
if (data["canvasBlocker-unload"]){
|
||||
enabled = false;
|
||||
}
|
||||
if (data["canvasBlocker-sendNotifications"] === tabId){
|
||||
if (data.hasOwnProperty("canvasBlocker-sendNotifications") && data["canvasBlocker-sendNotifications"] === tabId){
|
||||
browser.runtime.sendMessage({
|
||||
sender: tabId,
|
||||
"canvasBlocker-notifications": notifications
|
||||
|
Loading…
x
Reference in New Issue
Block a user