From 43facba22190f7b30a60fbe32a4272ba4431ee61 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Sat, 9 Sep 2023 23:56:54 +0530 Subject: [PATCH] bug fix --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index bb0ae97..d869e88 100644 --- a/index.html +++ b/index.html @@ -120,7 +120,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 = []