Fixed Cookie "push_subscription_updated" isn't set using `XF.Cookie.set`

TickTackk

Well-known member
Affected version
2.3.x
JavaScript:
            }).then(() =>
            {
                if (type === 'update')
                {
                    document.cookie = 'push_subscription_updated=1'
                }
            }).catch(error =>
should be
JavaScript:
            }).then(() =>
            {
                if (type === 'update')
                {
                    XF.Cookie.set('push_subscription_updated', '1')
                }
            }).catch(error =>
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Beta 7).

Change log:
Use XF.Cookie when setting push_subscription_updated cookie.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom