aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/notifications.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-12-24 22:11:36 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-12-24 22:11:36 +0100
commitdf44b69c4655415fe1e44689ece443ec06ef0f52 (patch)
treee677ed5f5328bb3b14bc976c7392d8e259f89034 /src/webview/notifications.js
parent[wip] add icon upload (diff)
parentMerge pull request #494 from heavypackets/websecurity-enable-patch (diff)
downloadferdium-app-df44b69c4655415fe1e44689ece443ec06ef0f52.tar.gz
ferdium-app-df44b69c4655415fe1e44689ece443ec06ef0f52.tar.zst
ferdium-app-df44b69c4655415fe1e44689ece443ec06ef0f52.zip
Merge branch 'develop' into feature/icon-upload
Diffstat (limited to 'src/webview/notifications.js')
-rw-r--r--src/webview/notifications.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/notifications.js b/src/webview/notifications.js
index 4055b10de..4f602bfdb 100644
--- a/src/webview/notifications.js
+++ b/src/webview/notifications.js
@@ -10,9 +10,9 @@ class Notification {
10 this.notificationId = uuidV1(); 10 this.notificationId = uuidV1();
11 11
12 ipcRenderer.sendToHost('notification', this.onNotify({ 12 ipcRenderer.sendToHost('notification', this.onNotify({
13 title: this.title,
14 options: this.options,
13 notificationId: this.notificationId, 15 notificationId: this.notificationId,
14 title,
15 options,
16 })); 16 }));
17 17
18 ipcRenderer.once(`notification-onclick:${this.notificationId}`, () => { 18 ipcRenderer.once(`notification-onclick:${this.notificationId}`, () => {