Update index.html

This commit is contained in:
SaketAnand 2024-05-22 21:23:35 +05:30
parent 26a53a9239
commit 3f7314e2a8

View File

@ -1598,9 +1598,9 @@
//Checks for internet connection status
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', () => {
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', () => {
floGlobals.connectionErrorNotifications.forEach(notificationId => getRef('notification_drawer').remove(notificationId))