From b8f43a6853d13c9fd18cc3c55c9e77571413f2a0 Mon Sep 17 00:00:00 2001 From: Tristan Schneider Date: Sat, 9 Nov 2024 18:22:22 +0100 Subject: [PATCH] fix notification message --- owe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owe.js b/owe.js index 1397e4b..dd8752b 100644 --- a/owe.js +++ b/owe.js @@ -116,7 +116,7 @@ async function sendWord() { function displayNotification(word) { if (Notification.permission == 'granted') { navigator.serviceWorker.getRegistration().then(function(reg) { - reg.showNotification("Neuer Satz auf " + (config_data.title ? config_data.title : "OWE"), + reg.showNotification("Neuer Beitrag auf " + (config_data.title ? config_data.title : "OWE"), { body: word, icon: (config_data.logo? config_data.logo.image_path : "OWE_Logo.png"), requireInteraction: true }); }); }