Skip to content

Commit

Permalink
Fixing interaction and adding new dict
Browse files Browse the repository at this point in the history
  • Loading branch information
AG committed Mar 2, 2024
1 parent 03abc20 commit eec5fb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dictionary.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ entry.addEventListener("keydown", (event) => {
use_suggestion();
}
});
suggestion.addEventListener("click", use_suggestion);
suggestion.addEventListener("click", () => {
use_suggestion();
entry.focus();
});

const find_a_suggestion = (word) => {
let word_parts = word.split("_");
Expand Down

0 comments on commit eec5fb1

Please sign in to comment.