File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ function isFileWritable($path){
289289<div class="container">
290290
291291 <div style="margin:auto;margin-top: 30px" class="text-center">
292- <img class="mb-4" src="../login /official_logo.svg" alt="" width="72" height="72">
292+ <img class="mb-4" src="img /official_logo.svg" alt="" width="72" height="72">
293293 <h1 class="headline h3 mb-2 font-weight-normal">Welcome!</h1>
294294 <h3 class="headline h5 mb-3 font-weight-light">Raspberry Pi Dashboard</h3>
295295 <h5 class="headline text-secondary font-weight-normal">Setup</h5>
@@ -624,9 +624,12 @@ function darkmode(state) {
624624}
625625if(localStorage.getItem("darkmode") != null){
626626 darkmode(localStorage.getItem("darkmode"));
627+ document.getElementById(localStorage.getItem("darkmode")).checked="true";
628+ }else{
629+ document.getElementById("false").checked="true";
627630}
628631
629- document.getElementById(localStorage.getItem("darkmode")).checked="true";
632+
630633
631634function checkPw() {
632635 var pw1=document.getElementById("pwinput1").value;
You can’t perform that action at this time.
0 commit comments