Skip to content

Commit 2b90580

Browse files
committed
Merge pull request harvesthq#2378 from micgro42/patch-1
Adjust doc to actual code: disable_search_threshold
2 parents 0101370 + dfea493 commit 2b90580

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ <h2><a name="selected-and-disabled-support" class="anchor" href="#selected-and-d
12091209

12101210
<h2><a name="hide-search-on-single-select" class="anchor" href="#hide-search-on-single-select">Hide Search on Single Select</a></h2>
12111211
<div class="side-by-side clearfix">
1212-
<p>The disable_search_threshold option can be specified to hide the search input on single selects if there are fewer than (n) options.</p>
1212+
<p>The disable_search_threshold option can be specified to hide the search input on single selects if there are fewer or equal (n) options.</p>
12131213
<pre><code class="language-javascript">$(".chosen-select").chosen({disable_search_threshold: 10});</code></pre>
12141214
<p></p>
12151215
<div>

public/index.proto.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ <h2><a name="selected-and-disabled-support" class="anchor" href="#selected-and-d
12101210

12111211
<h2><a name="hide-search-on-single-select" class="anchor" href="#hide-search-on-single-select">Hide Search on Single Select</a></h2>
12121212
<div class="side-by-side clearfix">
1213-
<p>The disable_search_threshold option can be specified to hide the search input on single selects if there are fewer than (n) options.</p>
1213+
<p>The disable_search_threshold option can be specified to hide the search input on single selects if there are fewer or equal (n) options.</p>
12141214
<pre><code class="language-javascript"> new Chosen($("chosen_select_field"),{disable_search_threshold: 10}); </code></pre>
12151215
<p></p>
12161216
<div>

public/options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h3>Example:</h3>
4848
<tr>
4949
<td>disable_search_threshold</td>
5050
<td>0</td>
51-
<td>Hide the search input on single selects if there are fewer than (n) options.</td>
51+
<td>Hide the search input on single selects if there are fewer or equal (n) options.</td>
5252
</tr>
5353
<tr>
5454
<td>enable_split_word_search</td>

0 commit comments

Comments
 (0)