@@ -103,6 +103,32 @@ $.when($.getScript("js/global/global.js")).then(function () {
103
103
} ) ;
104
104
105
105
106
+ $ ( "#reportByEnvCountryBrowser .nav li" ) . on ( "click" , function ( event ) {
107
+ stopPropagation ( event ) ;
108
+ $ ( this ) . parent ( ) . find ( ".active" ) . removeClass ( "active" ) ;
109
+ $ ( this ) . addClass ( "active" ) ;
110
+ if ( $ ( this ) . prop ( "id" ) === "tab" ) {
111
+ $ ( "#progressEnvCountryBrowser" ) . hide ( ) ;
112
+ $ ( "#summaryTableDiv" ) . show ( ) ;
113
+ } else if ( $ ( this ) . prop ( "id" ) === "graph" ) {
114
+ $ ( "#progressEnvCountryBrowser" ) . show ( ) ;
115
+ $ ( "#summaryTableDiv" ) . hide ( ) ;
116
+ }
117
+ } ) ;
118
+
119
+ $ ( "#reportByLabel .nav li" ) . on ( "click" , function ( event ) {
120
+ stopPropagation ( event ) ;
121
+ $ ( this ) . parent ( ) . find ( ".active" ) . removeClass ( "active" ) ;
122
+ $ ( this ) . addClass ( "active" ) ;
123
+ if ( $ ( this ) . prop ( "id" ) === "requirements" ) {
124
+ $ ( "#mainTreeExeS" ) . hide ( ) ;
125
+ $ ( "#mainTreeExeR" ) . show ( ) ;
126
+ } else if ( $ ( this ) . prop ( "id" ) === "stickers" ) {
127
+ $ ( "#mainTreeExeS" ) . show ( ) ;
128
+ $ ( "#mainTreeExeR" ) . hide ( ) ;
129
+ }
130
+ } ) ;
131
+
106
132
displayInvariantList ( "screenshot" , "SCREENSHOT" , false , undefined , "" ) ;
107
133
displayInvariantList ( "video" , "VIDEO" , false , undefined , "" ) ;
108
134
displayInvariantList ( "verbose" , "VERBOSE" , false , undefined , "" ) ;
0 commit comments