0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-06-16 09:01:22 +02: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 + ")"); default: console.log("Key: '" + ch + "' (" + event.which + ")");
} }
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 event.preventDefault(); //prevents the character to end up in a focussed textfield
}
}) })
} }