mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 09:17:56 +01:00
Enable enter key usage for tour again
This commit is contained in:
parent
a01599fb54
commit
942d9d8bbf
@ -48,7 +48,9 @@ function initKeyboard() {
|
|||||||
|
|
||||||
default: console.log("Key: '" + ch + "' (" + event.which + ")");
|
default: console.log("Key: '" + ch + "' (" + event.which + ")");
|
||||||
}
|
}
|
||||||
event.preventDefault(); //prevents the character to end up in a focussed textfield
|
if(event.which != 13) { // don't prevent enter usage, it's used in tour
|
||||||
|
event.preventDefault(); //prevents the character to end up in a focussed textfield
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user