word/finder: fix debug id references
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 9 May 2023 16:57:33 +0000 (18:57 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 9 May 2023 17:16:17 +0000 (19:16 +0200)
word/finder.js

index 0f97c0f4258a264ff67d635a6471c7c2f6bd2b43..9d2b6cf321ba4f3534ac31857df856b5d31a21ce 100644 (file)
@@ -35,7 +35,7 @@ class WordFinder extends WordQuiz {
                                //worditem.onclick = () => expansion.style.display = '';
                        }
                        if (this.preset.debug) {
-                               put(figitem, '[title=$]', `id ${ref} level ${word.level}`);
+                               put(figitem, '[title=$]', `id ${word.id} level ${word.level}`);
                        }
                });
        }