From 8d2460c40d4e2d4a3a2d15602f6f65afe3185320 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Wed, 20 Sep 2023 13:48:01 +0530 Subject: [PATCH] Bug fix --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 66d67eb..c7040a4 100644 --- a/index.html +++ b/index.html @@ -162,7 +162,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 = [] @@ -1823,7 +1823,7 @@ notify('copied', 'success') }) document.addEventListener("pointerdown", (e) => { - if (e.target.closest("button:not([disabled]), sm-button:not([disabled]), .interact:not([disabled])")) { + if (e.target.closest(`button:not([disabled]), sm-button:not([disabled]), .interact:not([disabled="true"])`)) { createRipple(e, e.target.closest("button, sm-button, .interact")); } });