mirror of
https://github.com/aelve/guide.git
synced 2024-11-23 21:13:07 +03:00
Fix events in Firefox
This commit is contained in:
parent
41230596bf
commit
5efa203e21
@ -311,7 +311,7 @@ makeTraitEditor =
|
|||||||
"id" : textareaUid,
|
"id" : textareaUid,
|
||||||
"class" : "fullwidth",
|
"class" : "fullwidth",
|
||||||
"text" : content })[0];
|
"text" : content })[0];
|
||||||
area.onkeydown = function () {
|
area.onkeydown = function (event) {
|
||||||
if (event.keyCode == 13) {
|
if (event.keyCode == 13) {
|
||||||
submitTrait(traitNode, itemId, traitId, area.value);
|
submitTrait(traitNode, itemId, traitId, area.value);
|
||||||
return false; } };
|
return false; } };
|
||||||
|
Loading…
Reference in New Issue
Block a user