You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the contents of the "Number of words" box (i.e., make it blank)
Click on "Generate a new key" (doesn't matter what's written in the big text box)
Expected behaviour: Either an error message, or a message that says "One of 1 possible 0-word permutations..."
Actual behaviour: A message that says "One of 1 possible -word permutations..." (with the number missing before "-word").
Possible fix: Define the "lastWordCount" variable in partials/phrases.html immediately (without waiting for getRandomWords() to execute). Or, don't make lastWordCount bound to the wordCount variable.
The text was updated successfully, but these errors were encountered:
How to replicate:
Expected behaviour: Either an error message, or a message that says "One of 1 possible 0-word permutations..."
Actual behaviour: A message that says "One of 1 possible -word permutations..." (with the number missing before "-word").
Possible fix: Define the "lastWordCount" variable in partials/phrases.html immediately (without waiting for getRandomWords() to execute). Or, don't make lastWordCount bound to the wordCount variable.
The text was updated successfully, but these errors were encountered: