aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/thelounge/webview-unsafe.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/thelounge/webview-unsafe.js')
-rw-r--r--recipes/thelounge/webview-unsafe.js6
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
3function newPostMessage(options) { 3function newPostMessage(options) {
4 window.ferdi.displayNotification(options.title, options); 4 window.ferdium.displayNotification(options.title, options);
5} 5}
6 6
7ServiceWorker.prototype.postMessage = newPostMessage; 7ServiceWorker.prototype.postMessage = newPostMessage;