diff options
author | Joel Martin <github@martintribe.org> | 2013-04-30 15:30:19 -0500 |
---|---|---|
committer | Joel Martin <github@martintribe.org> | 2013-04-30 15:30:19 -0500 |
commit | 4b374f60ecda16ea5b0ce3d132f09d04825fbb19 (patch) | |
tree | b7c7ae0da73211f613c09cc69d6888dbf842151b | |
parent | 9c7d341be748430492aa11de6ff20a1691d90938 (diff) | |
download | novnc-4b374f60ecda16ea5b0ce3d132f09d04825fbb19.tar.gz |
Load vnc.html scripts dynamically too.
-rw-r--r-- | include/ui.js | 2 | ||||
-rw-r--r-- | vnc.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/ui.js b/include/ui.js index 25bf162..09c0c81 100644 --- a/include/ui.js +++ b/include/ui.js @@ -12,8 +12,6 @@ // Load supporting scripts window.onscriptsload = function () { UI.load(); }; -Util.load_scripts(["webutil.js", "base64.js", "websock.js", "des.js", - "input.js", "display.js", "jsunzip.js", "rfb.js"]); var UI = { @@ -178,7 +178,9 @@ </div> <script src="include/util.js"></script> - <script src="include/ui.js"></script> - + <script> + Util.load_scripts(["webutil.js", "base64.js", "websock.js", "des.js", + "input.js", "display.js", "jsunzip.js", "rfb.js", "ui.js"]); + </script> </body> </html> |