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() {
787
787
788
788
$ ( document ) . ready ( function ( ) {
789
789
790
- $ ( '[data-toggle="tooltip"]' ) . tooltip ( ) ; // initialise tooltips
790
+ $ ( '[data-toggle="tooltip"]' ) . tooltip ( { trigger : "hover" } ) ; // initialise tooltips
791
791
792
792
// Get Latest Version Information
793
793
$ ( "#viewer-version" ) . text ( 'You are using version ' + VIEWER_VERSION ) ;
@@ -838,12 +838,17 @@ function BlackboxLogViewer() {
838
838
}
839
839
} ) ;
840
840
841
+ /**
841
842
prefs.get('hasAnalyser', function(item) {
842
843
if (item) {
843
844
hasAnalyser = item;
844
845
(hasAnalyser)?$("html").addClass("has-analyser"):$("html").removeClass("has-analyser");
845
846
}
846
847
});
848
+ **/
849
+ // Reset the analyser window on application startup.
850
+ hasAnalyser = false ;
851
+ ( hasAnalyser ) ?$ ( "html" ) . addClass ( "has-analyser" ) :$ ( "html" ) . removeClass ( "has-analyser" ) ;
847
852
848
853
$ ( ".file-open" ) . change ( function ( e ) {
849
854
var
You can’t perform that action at this time.
0 commit comments