fix: observer options

This commit is contained in:
Victor Westerlund 2023-02-05 15:37:19 +01:00
parent 717372be3e
commit 0379c4f631
2 changed files with 8 additions and 2 deletions

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# Foodora Notify
Get notified when the estimated delivery time changes for your Foodora order.
[**Install from the Chrome Web Store**](https://chrome.google.com/webstore/detail/ipnapnfmpconclhodnibpkajapijkohf)

View file

@ -6,8 +6,9 @@ class FoodoraNotify {
// Send ETA update notification each time the ETA text updates on screen
this.observer.observe(this.eta, {
attributes: true,
childList: true,
characterData: true,
attributes: false,
childList: false,
subtree: true
});
}