Update index.html
This commit is contained in:
parent
26a53a9239
commit
3f7314e2a8
@ -1598,9 +1598,9 @@
|
|||||||
|
|
||||||
//Checks for internet connection status
|
//Checks for internet connection status
|
||||||
if (!navigator.onLine)
|
if (!navigator.onLine)
|
||||||
floGlobals.connectionErrorNotifications.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error'))
|
floGlobals.connectionErrorNotifications.push(notify('There seems to be a problem connecting to the internet, Please check your internet connection.', 'error'))
|
||||||
window.addEventListener('offline', () => {
|
window.addEventListener('offline', () => {
|
||||||
floGlobals.connectionErrorNotifications.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error'))
|
floGlobals.connectionErrorNotifications.push(notify('There seems to be a problem connecting to the internet, Please check your internet connection.', 'error'))
|
||||||
})
|
})
|
||||||
window.addEventListener('online', () => {
|
window.addEventListener('online', () => {
|
||||||
floGlobals.connectionErrorNotifications.forEach(notificationId => getRef('notification_drawer').remove(notificationId))
|
floGlobals.connectionErrorNotifications.forEach(notificationId => getRef('notification_drawer').remove(notificationId))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user