forked from mbk-lab/rui_orig
upstream: Bug fixing
This commit is contained in:
parent
7b3caa64bd
commit
d4831bb68d
|
@ -311,9 +311,16 @@ function keyEvent(element, event, tag) {
|
||||||
message += ",timeStamp=" + event.timeStamp;
|
message += ",timeStamp=" + event.timeStamp;
|
||||||
}
|
}
|
||||||
if (event.key) {
|
if (event.key) {
|
||||||
if (event.key == '"') {
|
switch (event.key) {
|
||||||
message += ",key=`" + event.key + "`";
|
case '"':
|
||||||
} else {
|
message += ",key=`\"`";
|
||||||
|
break
|
||||||
|
|
||||||
|
case '\\':
|
||||||
|
message += ",key=`\\`";
|
||||||
|
break
|
||||||
|
|
||||||
|
default:
|
||||||
message += ",key=\"" + event.key + "\"";
|
message += ",key=\"" + event.key + "\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue