Skip to content

Commit

Permalink
Fix alert not showing up for compound input
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasvana10 committed May 10, 2024
1 parent 8e6cce1 commit 4642ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crossword_puzzle/cword_webapp/static/interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Interaction {
let inputValue = event.key;

// Handle the setting of a compound input element when pressing [Shift + 1]
if (inputValue === "!" && event.shiftKey && this.cellCoords !== null) {
if (inputValue === "!" && event.shiftKey) {
event.preventDefault();
return this.handleSetCompoundInput();
}
Expand Down

0 comments on commit 4642ceb

Please sign in to comment.