aboutsummaryrefslogtreecommitdiff
path: root/views/script/loader_global.js
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-07-09 00:37:48 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-07-09 00:37:48 +0200
commit8886d5111aa4ae75f54f46c93f09fa7548979969 (patch)
tree51ca4a81263486f1298e1262537703b0470fa4e6 /views/script/loader_global.js
parenta69a90e2f5970efb23dba5ca900e9624b35cfa36 (diff)
downloadkartik-client-8886d5111aa4ae75f54f46c93f09fa7548979969.tar.gz
kartik-client-8886d5111aa4ae75f54f46c93f09fa7548979969.tar.bz2
kartik-client-8886d5111aa4ae75f54f46c93f09fa7548979969.zip
Fixes
Diffstat (limited to 'views/script/loader_global.js')
-rw-r--r--views/script/loader_global.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/script/loader_global.js b/views/script/loader_global.js
index 6bde06c..7c89d0f 100644
--- a/views/script/loader_global.js
+++ b/views/script/loader_global.js
@@ -19,7 +19,7 @@ window.addEventListener('load', () => {
document.getElementById('updates').style.backgroundColor = "lightgreen";
document.getElementById('updates').innerText = lang.updates.ok;
} else {
- document.getElementById('warning').style.opacity = "1";
+ require('@electron/remote').getCurrentWindow().webContents.send("notification", {title: lang.updates.warn[0], message: lang.updates.warn[1]});
document.getElementById('updates').style.backgroundColor = "lightyellow";
document.getElementById('updates').innerText = lang.updates.available;
}