Skip to content

Commit 902fbb9

Browse files
authored
Update popup.js
1 parent a8e4870 commit 902fbb9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

popup.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
document.addEventListener("DOMContentLoaded", () => {
22
document.querySelector("button").addEventListener("click", () => {
3-
let options = {
3+
chrome.notifications.create({
44
type: "basic",
55
title: "x neue Anzeigen!",
66
message: "auf ImmoScout24",
77
iconUrl: "icon-48.png",
8-
};
9-
chrome.notifications.create(options);
8+
});
109
});
1110
});

0 commit comments

Comments
 (0)