Skip to content
Snippets Groups Projects
Verified Commit d1f2915f authored by Miniontoby's avatar Miniontoby :writing_hand_tone1:
Browse files

Fixed naming of Notification (forgot to commit this for a while)

parent 911a01cb
No related branches found
No related tags found
No related merge requests found
Pipeline #144443 passed
......@@ -37,7 +37,7 @@ async function sendNotificationAfter(seconds=5, body='Hello World', timestamp=nu
if (!timestamp) timestamp = new Date().getTime() + seconds * 1000; // now plus 5000ms
const a = location.pathname.split("/"); a.pop(); const root = (a.join('/') + '/').replace(/\/demo\/.*/,'/');
reg.showNotification(
'Demo Push Notification',
'Plan2Go',
{
tag: timestamp, // a unique ID
body: body, // content of the push notification
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment