diff options
-rw-r--r-- | src/app/js/request.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/js/request.js b/src/app/js/request.js index bec9d7c..3639dad 100644 --- a/src/app/js/request.js +++ b/src/app/js/request.js @@ -33,6 +33,8 @@ let state_action = (is_online) => { true, false, document.querySelectorAll(".requires-internet") ) + + serverstatus.style.opacity = "1.0"; } else { // show toast if (! sent_error_toast) { @@ -49,6 +51,8 @@ let state_action = (is_online) => { document.querySelectorAll(".requires-internet") ) + serverstatus.style.opacity = "0.0"; + // close mod browser try { require("./browser").toggle(false); |