Use onstorage event - don't poll. Increase screenshot frequency to one second.

This commit is contained in:
Michael Jumper committed 2012-11-07 10:15:01 -08:00
1 parent 3b3f213c6d
commit d1aeb5e347
4 files changed
+7 -14

No files matched your search

@@ -132,6 +132,9 @@ GuacamoleHistory = new (function() {
*/
this.onchange = null;
// Reload when modified
window.addEventListener("storage", guac_history.reload);
// Initial load
guac_history.reload();