HID: fix ret
This commit is contained in:
parent
0416f32744
commit
cf5ee01a9c
@ -48,9 +48,6 @@ $(window).bind('keydown', function(event) {
|
|||||||
console.log(obj);
|
console.log(obj);
|
||||||
|
|
||||||
socket.emit('kbdEvent', JSON.stringify(obj));
|
socket.emit('kbdEvent', JSON.stringify(obj));
|
||||||
|
|
||||||
$("span").text(ret.responseText);
|
|
||||||
console.log(ret);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var text = "";
|
var text = "";
|
||||||
|
@ -34,8 +34,6 @@
|
|||||||
if (event.which != 16 && event.which != 17 && event.which != 18) {
|
if (event.which != 16 && event.which != 17 && event.which != 18) {
|
||||||
console.log(obj);
|
console.log(obj);
|
||||||
socket.emit('kbdEvent', JSON.stringify(obj));
|
socket.emit('kbdEvent', JSON.stringify(obj));
|
||||||
|
|
||||||
console.log(ret);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var text = "";
|
var text = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user