assets/js/X-letter.js in word-games-theme-1.0.8 vs assets/js/X-letter.js in word-games-theme-1.0.9
- old
+ new
@@ -31,10 +31,10 @@
txtBox.value = serachValue
if (ablank) {
if (!serachValue.includes("?")) {
- if (serachValue.length <= letterLen) {
+ if (serachValue.length <= letterLen || serachValue.length >= letterLen) {
serachValue = serachValue + '?'
txtBox.value = serachValue
}
}
}