mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Respaced init code.
This commit is contained in:
@@ -99,8 +99,8 @@
|
|||||||
// Start connect after control returns from onload (allow browser
|
// Start connect after control returns from onload (allow browser
|
||||||
// to consider the page loaded).
|
// to consider the page loaded).
|
||||||
document.body.onload = function() {
|
document.body.onload = function() {
|
||||||
|
|
||||||
window.setTimeout(function() {
|
window.setTimeout(function() {
|
||||||
|
|
||||||
// Instantiate client
|
// Instantiate client
|
||||||
var guac = new Guacamole.Client(
|
var guac = new Guacamole.Client(
|
||||||
GuacamoleUI.display,
|
GuacamoleUI.display,
|
||||||
@@ -122,8 +122,8 @@
|
|||||||
catch (e) {
|
catch (e) {
|
||||||
GuacamoleUI.showError(e.message);
|
GuacamoleUI.showError(e.message);
|
||||||
}
|
}
|
||||||
}, 0);
|
|
||||||
|
|
||||||
|
}, 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* ]]> */ </script>
|
/* ]]> */ </script>
|
||||||
|
Reference in New Issue
Block a user