mirror of
https://github.com/aquatix/alfagok.git
synced 2025-12-06 23:25:09 +01:00
Compare commits
1 Commits
v0.2
...
c0c0ecb28b
| Author | SHA1 | Date | |
|---|---|---|---|
| c0c0ecb28b |
@@ -36,7 +36,8 @@ document.addEventListener('alpine:init', () => {
|
||||
async doGuess() {
|
||||
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 === '') {
|
||||
console.log('Nothing filled in');
|
||||
|
||||
Reference in New Issue
Block a user