File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ function init() {
6464 "</div>" +
6565 "</div>" ) ;
6666
67+ // init the view
68+ $ ( '#container' ) . empty ( ) ;
69+ tooltip = new Tooltip ( ) ;
70+ viewManager = new ViewManager ( document . getElementById ( 'container' ) , database ,
71+ tooltip ) ;
72+
6773 // init the top menu
6874 $ ( '#TopMenuWrapper' ) . empty ( )
6975 saverLoader = new SaverLoader ( document . getElementById ( "TopMenuWrapper" ) ,
@@ -77,12 +83,6 @@ function init() {
7783 netSelector = new NetworkSelector ( document . getElementById ( "TopMenuWrapper" ) ,
7884 database , viewManager ) ;
7985
80- // init the view
81- $ ( '#container' ) . empty ( ) ;
82- tooltip = new Tooltip ( ) ;
83- viewManager = new ViewManager ( document . getElementById ( 'container' ) , database ,
84- tooltip ) ;
85-
8686 // init controller
8787 initMonitorCommands ( ) ;
8888 initViewCommands ( ) ;
You can’t perform that action at this time.
0 commit comments