diff options
author | Danny Qiu <dqiu55@gmail.com> | 2017-11-14 01:39:44 -0500 |
---|---|---|
committer | Danny Qiu <dqiu55@gmail.com> | 2017-11-14 01:39:44 -0500 |
commit | b15421b0597fa40d961db2e102d6b54059196b27 (patch) | |
tree | 12a4c16f46dead399f44535b9bcb892fe506617e /src/webview/notifications.js | |
parent | Merge pull request #263 from meetfranz/feature/mute-service (diff) | |
download | ferdium-app-b15421b0597fa40d961db2e102d6b54059196b27.tar.gz ferdium-app-b15421b0597fa40d961db2e102d6b54059196b27.tar.zst ferdium-app-b15421b0597fa40d961db2e102d6b54059196b27.zip |
Fix application of onNotify
Diffstat (limited to 'src/webview/notifications.js')
-rw-r--r-- | src/webview/notifications.js | 4 |
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}`, () => { |