Skip to content

Commit

Permalink
Update GameBoards.vue
Browse files Browse the repository at this point in the history
Change == into ===
  • Loading branch information
QueensGambit authored May 22, 2024
1 parent 1fc1df3 commit 82680f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/GameBoards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default {
mounted () { // EventListener für Keyboardinput, ruft direkt die jeweilige Methode auf
window.addEventListener('keydown', (event) => {
const keyName = event.key
if (event.target.nodeName.toLowerCase() !== 'input' || event.target.type.toLowerCase() == 'checkbox') {
if (event.target.nodeName.toLowerCase() !== 'input' || event.target.type.toLowerCase() === 'checkbox') {
if (keyName === 'ArrowUp') {
event.preventDefault()
this.moveToStart()
Expand Down

0 comments on commit 82680f6

Please sign in to comment.