Index: trunk/extensions/SemanticResultFormats/Filtered/libs/ext.srf.filtered.value-filter.js |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | |
97 | 97 | var switchControls = $('<div class="filtered-value-switches">'); |
98 | 98 | |
99 | | - if ( $.inArray('and or', switches) ) { |
| 99 | + if ( $.inArray('and or', switches) >= 0 ) { |
100 | 100 | |
101 | 101 | var andorControl = $('<div class="filtered-value-andor">'); |
102 | 102 | var andControl = $('<input type="radio" name="filtered-value-andor ' + |