@@ -240,7 +240,7 @@ var countlyView = Backbone.View.extend({
240
240
/**
241
241
* View class to expand by plugins which need configuration under Management->Applications.
242
242
*/
243
- var countlyManagementView = countlyView . extend ( { // eslint-disable-line
243
+ window . countlyManagementView = countlyView . extend ( {
244
244
/**
245
245
* Handy function which returns currently saved configuration of this plugin or empty object.
246
246
*
@@ -840,17 +840,16 @@ var AppRouter = Backbone.Router.extend({
840
840
return true ;
841
841
}
842
842
843
- if ( el . is ( ":visible" ) ) {
844
- //do nothing
845
- }
846
- else if ( $ ( ".sidebar-submenu" ) . is ( ":visible" ) ) {
847
- $ ( ".sidebar-submenu" ) . hide ( ) ;
848
- el . css ( { "right" : "-110px" } ) . show ( ) . animate ( { "right" : "0" } , { duration : 300 , easing : 'easeOutExpo' } ) ;
849
- addText ( ) ;
850
- }
851
- else {
852
- el . css ( { "right" : "-170px" } ) . show ( ) . animate ( { "right" : "0" } , { duration : 300 , easing : 'easeOutExpo' } ) ;
853
- addText ( ) ;
843
+ if ( ! el . is ( ":visible" ) ) {
844
+ if ( $ ( ".sidebar-submenu" ) . is ( ":visible" ) ) {
845
+ $ ( ".sidebar-submenu" ) . hide ( ) ;
846
+ el . css ( { "right" : "-110px" } ) . show ( ) . animate ( { "right" : "0" } , { duration : 300 , easing : 'easeOutExpo' } ) ;
847
+ addText ( ) ;
848
+ }
849
+ else {
850
+ el . css ( { "right" : "-170px" } ) . show ( ) . animate ( { "right" : "0" } , { duration : 300 , easing : 'easeOutExpo' } ) ;
851
+ addText ( ) ;
852
+ }
854
853
}
855
854
/** function add text to menu title */
856
855
function addText ( ) {
@@ -1162,6 +1161,8 @@ var AppRouter = Backbone.Router.extend({
1162
1161
return ( v1 == v2 ) ? options . fn ( this ) : options . inverse ( this ) ; // eslint-disable-line
1163
1162
case '!=' :
1164
1163
return ( v1 != v2 ) ? options . fn ( this ) : options . inverse ( this ) ; // eslint-disable-line
1164
+ case '!==' :
1165
+ return ( v1 !== v2 ) ? options . fn ( this ) : options . inverse ( this ) ;
1165
1166
case '===' :
1166
1167
return ( v1 === v2 ) ? options . fn ( this ) : options . inverse ( this ) ;
1167
1168
case '<' :
@@ -2386,7 +2387,7 @@ var AppRouter = Backbone.Router.extend({
2386
2387
$ ( this ) . next ( ".dataTables_filter" ) . find ( "input" ) . focus ( ) ;
2387
2388
} ) ;
2388
2389
2389
- var exportDrop = "" ;
2390
+ var exportDrop ;
2390
2391
if ( oSettings . oFeatures . bServerSide ) {
2391
2392
tableWrapper . find ( ".dataTables_length" ) . show ( ) ;
2392
2393
tableWrapper . find ( '#dataTables_length_input' ) . bind ( 'change.DT' , function ( /*e, _oSettings*/ ) {
0 commit comments