mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
refactoring
This commit is contained in:
@@ -64,11 +64,7 @@ export function Mouse() {
|
||||
|
||||
self.setSocket = function(ws) {
|
||||
__ws = ws;
|
||||
if (ws) {
|
||||
$("stream-box").classList.add("stream-box-mouse-enabled");
|
||||
} else {
|
||||
$("stream-box").classList.remove("stream-box-mouse-enabled");
|
||||
}
|
||||
$("stream-box").classList.toggle("stream-box-mouse-enabled", ws);
|
||||
__updateLeds();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user