summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2013-04-30 15:30:19 -0500
committerJoel Martin <github@martintribe.org>2013-04-30 15:30:19 -0500
commit4b374f60ecda16ea5b0ce3d132f09d04825fbb19 (patch)
treeb7c7ae0da73211f613c09cc69d6888dbf842151b
parent9c7d341be748430492aa11de6ff20a1691d90938 (diff)
downloadnovnc-4b374f60ecda16ea5b0ce3d132f09d04825fbb19.tar.gz
Load vnc.html scripts dynamically too.
-rw-r--r--include/ui.js2
-rw-r--r--vnc.html6
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 = {
diff --git a/vnc.html b/vnc.html
index 5f6cc70..95978d8 100644
--- a/vnc.html
+++ b/vnc.html
@@ -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>