mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
Fix call to addEventListener (ticket #210).
This commit is contained in:
@@ -133,7 +133,7 @@ GuacamoleHistory = new (function() {
|
||||
this.onchange = null;
|
||||
|
||||
// Reload when modified
|
||||
window.addEventListener("storage", guac_history.reload);
|
||||
window.addEventListener("storage", guac_history.reload, false);
|
||||
|
||||
// Initial load
|
||||
guac_history.reload();
|
||||
|
@@ -99,7 +99,7 @@ function GuacamoleSessionState() {
|
||||
this.onchange = null;
|
||||
|
||||
// Reload when modified
|
||||
window.addEventListener("storage", guac_state.reload);
|
||||
window.addEventListener("storage", guac_state.reload, false);
|
||||
|
||||
// Initial load
|
||||
guac_state.reload();
|
||||
|
Reference in New Issue
Block a user