aboutsummaryrefslogtreecommitdiff
path: root/views/stats.html
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-07-10 16:03:26 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-07-10 16:03:26 +0200
commitc3b756f987ffd8ca981c1e6f23435c74aad36aea (patch)
treebe6b4923dd4a3bbfc147e29421873028c39c9af3 /views/stats.html
parentb9e7ec33542bb8041857eb997d17b29ffeae40c8 (diff)
downloadkartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.tar.gz
kartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.tar.bz2
kartik-client-c3b756f987ffd8ca981c1e6f23435c74aad36aea.zip
Fixes
Diffstat (limited to 'views/stats.html')
-rw-r--r--views/stats.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/stats.html b/views/stats.html
index dcb4275..018e164 100644
--- a/views/stats.html
+++ b/views/stats.html
@@ -29,7 +29,7 @@
<div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;">
<div style="position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;">
<div style="text-align: center;">
- <h2><script>const homedir = require('@electron/remote').getCurrentWindow().homedir;document.write(lang.stats.title);stats=require(homedir + "/.kartik/stats.json")</script></h2>
+ <h2><script>let homedir = require('@electron/remote').getCurrentWindow().homedir;document.write(lang.stats.title);stats=require(homedir + "/.kartik/stats.json")</script></h2>
<div style="display:grid;grid-template-columns: 1fr 1fr;">
<div style="padding:10px;text-align:left;"><b><script>document.write(lang.stats.items['times.single'])</script></b></div>