julienc91 / caviardeul

Redactle, but in French | Redactle, mais en français
https://caviardeul.fr
MIT License
16 stars 4 forks source link

Toggle "reveal close words" options after one guess displays a blank page #14

Closed ShaigroRB closed 1 year ago

ShaigroRB commented 1 year ago

Hey.

After guessing a word that reveals close words of it, if I toggle the option "Reveal close word" or reload the page, it displays a blank page with the error: Application error: a client-side exception has occurred (see the browser console for more information).

The error in the console is Error: Cannot count occurrences of common word: ne.

Here a gif showing the problem:
caviardeul_broken_close_words

julienc91 commented 1 year ago

Thanks for the feedback, fixed in 3c1253d873658850b6a4a52298fa0c1081995513