mirror of
https://github.com/aquatix/alfagok.git
synced 2025-12-07 03:55:12 +01:00
Compare commits
1 Commits
v0.2
...
c0c0ecb28b
| Author | SHA1 | Date | |
|---|---|---|---|
| c0c0ecb28b |
@@ -36,7 +36,8 @@ document.addEventListener('alpine:init', () => {
|
|||||||
async doGuess() {
|
async doGuess() {
|
||||||
this.guessError = null;
|
this.guessError = null;
|
||||||
|
|
||||||
this.guessValue = this.guessValue.toLowerCase();
|
/* Normalise on lowercase, and strip whitespace from begin and end, just in case */
|
||||||
|
this.guessValue = this.guessValue.toLowerCase().trim();
|
||||||
|
|
||||||
if (this.guessValue === '') {
|
if (this.guessValue === '') {
|
||||||
console.log('Nothing filled in');
|
console.log('Nothing filled in');
|
||||||
|
|||||||
Reference in New Issue
Block a user