mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-11 07:27:42 +00:00
Use onstorage event - don't poll. Increase screenshot frequency to one second.
This commit is contained in:
@@ -323,12 +323,6 @@ GuacamoleRootUI.reset = function() {
|
||||
GuacamoleRootUI.views.login.style.display = "none";
|
||||
GuacamoleRootUI.views.connections.style.display = "";
|
||||
|
||||
// Reload history every 5 seconds
|
||||
window.setInterval(GuacamoleHistory.reload, 5000);
|
||||
|
||||
// Reload history when focus gained
|
||||
window.onfocus = GuacamoleHistory.reload;
|
||||
|
||||
};
|
||||
|
||||
GuacamoleHistory.onchange = function(id, old_entry, new_entry) {
|
||||
|
Reference in New Issue
Block a user