File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -2088,21 +2088,28 @@ var pluginManager = function pluginManager() {
20882088 return value ;
20892089 }
20902090 else {
2091- return ! ! myOb ;
2091+ if ( myOb === true ) {
2092+ return true ;
2093+ }
2094+ else {
2095+ return false ;
2096+ }
20922097 }
20932098 }
20942099 this . isAnyMasked = function ( ) {
2100+ var result = false ;
20952101 if ( masking && masking . apps ) {
20962102 for ( var app in masking . apps ) {
20972103 if ( masking . apps [ app ] ) {
2098- return hasAnyValueTrue ( masking . apps [ app ] . masking ) ;
2104+ result = result || hasAnyValueTrue ( masking . apps [ app ] ) ;
2105+ if ( result ) {
2106+ return true ;
2107+ }
20992108 }
21002109 }
21012110 return false ;
21022111 }
2103- else {
2104- return false ;
2105- }
2112+ return result ;
21062113 } ;
21072114
21082115 this . getMaskingSettings = function ( appID ) {
You can’t perform that action at this time.
0 commit comments