From fdd6108c08b3f99a324fa213c8cd8752a31622c2 Mon Sep 17 00:00:00 2001 From: andreinwald Date: Sun, 15 Oct 2023 11:30:38 +0200 Subject: [PATCH] design --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a4a76db..fda6dff 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ WebPush iOS example - + @@ -20,7 +20,8 @@ break; case 'granted': let subscription = await pushManager.getSubscription(); - document.getElementById('active_sub').innerHTML = 'Active subscription:
' + JSON.stringify(subscription.toJSON(), null, 2); + document.getElementById('active_sub').innerHTML = 'Active subscription:
' + + JSON.stringify(subscription.toJSON(), null, 2) + '>'; break; case 'denied': console.log('Push Notifications denied by user');