aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/browser.js
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-08-04 14:27:54 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-08-04 14:27:54 +0200
commit558ef98614b8ad34ba4fb35a8f0b6fe94211f938 (patch)
tree4e3a6fb02fde6c270cb0824945ab3e1d81af9934 /src/app/js/browser.js
parent5d6ab8e481fe6df98f0bb345589d0b1ccb291f88 (diff)
downloadViper-558ef98614b8ad34ba4fb35a8f0b6fe94211f938.tar.gz
Viper-558ef98614b8ad34ba4fb35a8f0b6fe94211f938.zip
handle onLine event dynamically, don't enable buttons when going offline
Diffstat (limited to 'src/app/js/browser.js')
-rw-r--r--src/app/js/browser.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js
index 3415ebf..c559031 100644
--- a/src/app/js/browser.js
+++ b/src/app/js/browser.js
@@ -524,7 +524,6 @@ ipcRenderer.on("legacy-duped-mod", (_, modname) => {
})
ipcRenderer.on("no-internet", () => {
- set_buttons(true);
toasts.show({
timeout: 10000,
scheme: "error",