1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-24 21:35:06 +03:00

Fix events in Firefox

This commit is contained in:
Artyom 2016-04-19 23:09:39 +03:00
parent 41230596bf
commit 5efa203e21

View File

@ -311,7 +311,7 @@ makeTraitEditor =
"id" : textareaUid,
"class" : "fullwidth",
"text" : content })[0];
area.onkeydown = function () {
area.onkeydown = function (event) {
if (event.keyCode == 13) {
submitTrait(traitNode, itemId, traitId, area.value);
return false; } };