Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a8b3c
)
correct in row checking
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 28 Jun 2020 14:21:26 +0000
(16:21 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 28 Jun 2020 14:21:26 +0000
(16:21 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 2e4888d08e865c17ca2bb2209cde66f60cf63ce5..94c83274e94e56d18f3ecd35cf103c86f8ad536c 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-1546,7
+1546,7
@@
/* Look for word in row */
const newWordInRow = searchWordInLine(row, col, 0, 1);
- if ((newWordInRow !== null) && (!words.find(element => element.letters === newWordIn
Col
.letters))) {
+ if ((newWordInRow !== null) && (!words.find(element => element.letters === newWordIn
Row
.letters))) {
words.push(newWordInRow);
}