diff options
Diffstat (limited to 'webclients/novnc/include/webutil.js')
-rw-r--r-- | webclients/novnc/include/webutil.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webclients/novnc/include/webutil.js b/webclients/novnc/include/webutil.js index 95138f8..7a0a076 100644 --- a/webclients/novnc/include/webutil.js +++ b/webclients/novnc/include/webutil.js @@ -8,7 +8,7 @@ "use strict"; /*jslint bitwise: false, white: false */ -/*global window, document */ +/*global Util, window, document */ // Globals defined here var WebUtil = {}, $D; @@ -17,7 +17,7 @@ var WebUtil = {}, $D; * Simple DOM selector by ID */ if (!window.$D) { - $D = function (id) { + window.$D = function (id) { if (document.getElementById) { return document.getElementById(id); } else if (document.all) { @@ -42,8 +42,8 @@ WebUtil.init_logging = function() { /logging=([A-Za-z0-9\._\-]*)/) || ['', Util._log_level])[1]; - Util.init_logging() -} + Util.init_logging(); +}; WebUtil.init_logging(); |