mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Removed warning about unknown property.
This commit is contained in:
parent
6c47397d46
commit
bec157391d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue