Explorar o código

include/ui.js: call setBarPosition on initial load.

Call setBarPosition on initial load and not just when the window size
changes or scrolling happens.
Joel Martin %!s(int64=13) %!d(string=hai) anos
pai
achega
6f955236e6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/ui.js

+ 1 - 0
include/ui.js

@@ -97,6 +97,7 @@ start: function(callback) {
         //UI.setOnscroll();
         //UI.setResize();
     }
+    UI.setBarPosition();
 
     $D('noVNC_host').focus();