mirror of
https://github.com/aquatix/alfagok.git
synced 2025-12-06 22:15:11 +01:00
Small cleanups
This commit is contained in:
@@ -110,7 +110,6 @@ document.addEventListener('alpine:init', () => {
|
|||||||
this.resultGuesses = '🤔 '+ this.nrGuesses + ' gokken';
|
this.resultGuesses = '🤔 '+ this.nrGuesses + ' gokken';
|
||||||
let winTimeDate = new Date(this.winTime);
|
let winTimeDate = new Date(this.winTime);
|
||||||
let startTimeDate = new Date(this.startTime);
|
let startTimeDate = new Date(this.startTime);
|
||||||
// this.resultTimeTaken = '⏱️ ' + getFormattedTime(this.winTime - this.startTime);
|
|
||||||
this.resultTimeTaken = '⏱️ ' + this.getFormattedTime(winTimeDate - startTimeDate);
|
this.resultTimeTaken = '⏱️ ' + this.getFormattedTime(winTimeDate - startTimeDate);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -70,6 +70,5 @@
|
|||||||
<button x-data @click="$store.darkMode.toggle()">Toggle Dark Mode</button>
|
<button x-data @click="$store.darkMode.toggle()">Toggle Dark Mode</button>
|
||||||
<div x-data :class="$store.darkMode.on && 'bg-black'">...</div>
|
<div x-data :class="$store.darkMode.on && 'bg-black'">...</div>
|
||||||
#}
|
#}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user