Bug fix
This commit is contained in:
parent
cb8ae3f1e4
commit
8d2460c40d
@ -162,7 +162,7 @@
|
|||||||
uiGlobals.connectionErrorNotification.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error'))
|
uiGlobals.connectionErrorNotification.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error'))
|
||||||
})
|
})
|
||||||
window.addEventListener('online', () => {
|
window.addEventListener('online', () => {
|
||||||
uiGlobals.connectionErrorNotification.forEach(notification => notification.remove())
|
uiGlobals.connectionErrorNotification.forEach(notification => getRef("notification_drawer").remove(notification))
|
||||||
notify('We are back online.', 'success')
|
notify('We are back online.', 'success')
|
||||||
location.reload()
|
location.reload()
|
||||||
uiGlobals.connectionErrorNotification = []
|
uiGlobals.connectionErrorNotification = []
|
||||||
@ -1823,7 +1823,7 @@
|
|||||||
notify('copied', 'success')
|
notify('copied', 'success')
|
||||||
})
|
})
|
||||||
document.addEventListener("pointerdown", (e) => {
|
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"));
|
createRipple(e, e.target.closest("button, sm-button, .interact"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user