mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-24 21:51:14 +03:00
refactor
This commit is contained in:
9
src/globals.js
Normal file
9
src/globals.js
Normal file
@@ -0,0 +1,9 @@
|
||||
window.currentConnection = undefined;
|
||||
|
||||
export function setConn(conn) {
|
||||
window.currentConnection = conn;
|
||||
}
|
||||
|
||||
export function getConn() {
|
||||
return windows.currentConnection;
|
||||
}
|
||||
Reference in New Issue
Block a user