File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -787,7 +787,7 @@ function BlackboxLogViewer() {
787787
788788 $ ( document ) . ready ( function ( ) {
789789
790- $ ( '[data-toggle="tooltip"]' ) . tooltip ( ) ; // initialise tooltips
790+ $ ( '[data-toggle="tooltip"]' ) . tooltip ( { trigger : "hover" } ) ; // initialise tooltips
791791
792792 // Get Latest Version Information
793793 $ ( "#viewer-version" ) . text ( 'You are using version ' + VIEWER_VERSION ) ;
@@ -838,12 +838,17 @@ function BlackboxLogViewer() {
838838 }
839839 } ) ;
840840
841+ /**
841842 prefs.get('hasAnalyser', function(item) {
842843 if (item) {
843844 hasAnalyser = item;
844845 (hasAnalyser)?$("html").addClass("has-analyser"):$("html").removeClass("has-analyser");
845846 }
846847 });
848+ **/
849+ // Reset the analyser window on application startup.
850+ hasAnalyser = false ;
851+ ( hasAnalyser ) ?$ ( "html" ) . addClass ( "has-analyser" ) :$ ( "html" ) . removeClass ( "has-analyser" ) ;
847852
848853 $ ( ".file-open" ) . change ( function ( e ) {
849854 var
You can’t perform that action at this time.
0 commit comments