diff options
author | 2022-04-18 06:51:50 -0500 | |
---|---|---|
committer | 2022-04-18 06:51:50 -0500 | |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/thelounge/webview-unsafe.js | |
parent | Remove deprecated webPreference flag (diff) | |
download | ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip |
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
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; |