T
TickTackk
Guest
JavaScript:
should be
JavaScript:
Continue reading...
Code:
}).then(() =>
{
if (type === 'update')
{
document.cookie = 'push_subscription_updated=1'
}
}).catch(error =>
JavaScript:
Code:
}).then(() =>
{
if (type === 'update')
{
XF.Cookie.set('push_subscription_updated', '1')
}
}).catch(error =>
Continue reading...