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