Jimbly / regex-crossword

Implementation of a RegExp crossword.
287 stars 27 forks source link

fix `Uncaught TypeError: Cannot read property '0' of undefined` on Reset button #20

Closed hirachan closed 3 years ago

hirachan commented 3 years ago

Uncaught TypeError: Cannot read property '0' of undefined was occurred when I press reset button. I changed to Init user_data before calling checkRules()

Jimbly commented 3 years ago

Ah, the life of software - for every new thing added something old breaks ^_^. Thanks for the fix!