diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-11-15 11:09:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 11:09:46 +0100 |
commit | 29a106e53de8367a83c3cd5cc7716585d2c14136 (patch) | |
tree | 12a4c16f46dead399f44535b9bcb892fe506617e /src/webview/lib/RecipeWebview.js | |
parent | Merge pull request #263 from meetfranz/feature/mute-service (diff) | |
parent | Fix application of onNotify (diff) | |
download | ferdium-app-29a106e53de8367a83c3cd5cc7716585d2c14136.tar.gz ferdium-app-29a106e53de8367a83c3cd5cc7716585d2c14136.tar.zst ferdium-app-29a106e53de8367a83c3cd5cc7716585d2c14136.zip |
fix(Notifications): Fix notification data transformers (@dannyqiu)
Diffstat (limited to 'src/webview/lib/RecipeWebview.js')
-rw-r--r-- | src/webview/lib/RecipeWebview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js index b8acc1258..048beea69 100644 --- a/src/webview/lib/RecipeWebview.js +++ b/src/webview/lib/RecipeWebview.js | |||
@@ -66,7 +66,7 @@ class RecipeWebview { | |||
66 | 66 | ||
67 | onNotify(fn) { | 67 | onNotify(fn) { |
68 | if (typeof fn === 'function') { | 68 | if (typeof fn === 'function') { |
69 | window.Notification.onNotify = fn; | 69 | window.Notification.prototype.onNotify = fn; |
70 | } | 70 | } |
71 | } | 71 | } |
72 | 72 | ||