diff --git a/index.html b/index.html index bfad3e4..3bbdf72 100644 --- a/index.html +++ b/index.html @@ -1140,7 +1140,7 @@ uiGlobals.connectionErrorNotification.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error')) }) window.addEventListener('online', () => { - uiGlobals.connectionErrorNotification.forEach(notification => notification.remove()) + uiGlobals.connectionErrorNotification.forEach(notification => getRef("notification_drawer").remove(notification)) notify('We are back online.', 'success') location.reload() uiGlobals.connectionErrorNotification = []