about summary refs log tree commit diff stats
path: root/src/App.svelte
diff options
context:
space:
mode:
authorana <ana@ana.st>2021-08-08 19:35:15 +0200
committerana <ana@ana.st>2021-08-08 19:35:15 +0200
commit6d20a145920581eeffe08351311315ed1da56ba8 (patch)
tree0167637f01055e5a384dfadcfbfa2015649b5825 /src/App.svelte
parentf8d88af22684b173362b061e1cec3ed6dd5f1d3a (diff)
downloadeureka-marks-6d20a145920581eeffe08351311315ed1da56ba8.tar.gz
fix: fix unruly name
Diffstat (limited to 'src/App.svelte')
-rw-r--r--src/App.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.svelte b/src/App.svelte
index 1a7aa7f..171cf33 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -29,7 +29,7 @@
   }, 10000); // 10 seconds
   $: currentEzTime = formatUtc(date);
   onMount(() => {
-    document.getElementById("level").value = $level; // this is fucked up but it works
+    document.getElementById("level").value = $level || 0; // this is fucked up but it works
   });
 
   function newForecasts() {