0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 01:07:56 +01:00

Enable enter key usage for tour again

This commit is contained in:
peteruithoven 2014-01-16 12:48:57 +01:00
parent a01599fb54
commit 942d9d8bbf

View File

@ -48,7 +48,9 @@ function initKeyboard() {
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
}
})
}