Commit e657b328 authored by Joel Martin's avatar Joel Martin

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

Call setBarPosition on initial load and not just when the window size
changes or scrolling happens.
parent 2afc56e3
...@@ -97,6 +97,7 @@ start: function(callback) { ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment