Selaa lähdekoodia

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 13 vuotta sitten
vanhempi
commit
6f955236e6
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      include/ui.js

+ 1 - 0
include/ui.js

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