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

Call setBarPosition on initial load and not just when the window size
changes or scrolling happens.
This commit is contained in:
Joel Martin 2012-09-14 16:37:08 -05:00
parent 5f03c3d093
commit 6f955236e6
1 changed files with 1 additions and 0 deletions

View File

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