Bug fix
This commit is contained in:
parent
484a2502c6
commit
2eceeff7bd
@ -1140,7 +1140,7 @@
|
|||||||
uiGlobals.connectionErrorNotification.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error'))
|
uiGlobals.connectionErrorNotification.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error'))
|
||||||
})
|
})
|
||||||
window.addEventListener('online', () => {
|
window.addEventListener('online', () => {
|
||||||
uiGlobals.connectionErrorNotification.forEach(notification => notification.remove())
|
uiGlobals.connectionErrorNotification.forEach(notification => getRef("notification_drawer").remove(notification))
|
||||||
notify('We are back online.', 'success')
|
notify('We are back online.', 'success')
|
||||||
location.reload()
|
location.reload()
|
||||||
uiGlobals.connectionErrorNotification = []
|
uiGlobals.connectionErrorNotification = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user