diff options
Diffstat (limited to 'recipes/thelounge/webview-unsafe.js')
-rw-r--r-- | recipes/thelounge/webview-unsafe.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/thelounge/webview-unsafe.js b/recipes/thelounge/webview-unsafe.js index 3f1358a..9a40933 100644 --- a/recipes/thelounge/webview-unsafe.js +++ b/recipes/thelounge/webview-unsafe.js | |||
@@ -1,7 +1,7 @@ | |||
1 | // Monkey patch ServiceWorker.postMessage so that it will actually post a notification in Ferdi: | 1 | // Monkey patch ServiceWorker.postMessage so that it will actually post a notification in Ferdium: |
2 | 2 | ||
3 | function newPostMessage(options) { | 3 | function newPostMessage(options) { |
4 | window.ferdi.displayNotification(options.title, options); | 4 | window.ferdium.displayNotification(options.title, options); |
5 | } | 5 | } |
6 | 6 | ||
7 | ServiceWorker.prototype.postMessage = newPostMessage; | 7 | ServiceWorker.prototype.postMessage = newPostMessage; |