alexis-martel / Open-Crossword

An open-source crossword puzzle platform, focused on design and ease of use.
https://graphe.me/Open-Crossword/
GNU General Public License v3.0
8 stars 0 forks source link

Caps make puzzle unsolvable #41

Closed alexis-martel closed 2 years ago

alexis-martel commented 2 years ago

Change

this.obj["grid"][i].push([parseInt(this.squares[i * this.width + j].clueNumberInput.value, 10), this.squares[i * this.width + j].answerInput.value, this.squares[i * this.width + j].type]);

to

this.obj["grid"][i].push([parseInt(this.squares[i * this.width + j].clueNumberInput.value, 10), this.squares[i * this.width + j].answerInput.value.lower(), this.squares[i * this.width + j].type]);