mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 17:41:54 +08:00
js logs refactoring
This commit is contained in:
@@ -173,7 +173,7 @@ function Keyboard() {
|
||||
|
||||
var __sendKey = function(el_key, state) {
|
||||
var code = el_key.getAttribute("data-key");
|
||||
tools.debug("Key", (state ? "pressed:" : "released:"), code);
|
||||
tools.debug("Keyboard: key", (state ? "pressed:" : "released:"), code);
|
||||
if (__ws) {
|
||||
__ws.send(JSON.stringify({
|
||||
event_type: "key",
|
||||
|
||||
Reference in New Issue
Block a user