diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-02-20 17:46:19 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2010-02-20 17:46:19 +0000 |
commit | b53bf774cef3c94d73a99fb34b979346abff29dc (patch) | |
tree | a9960537463261c6704c293738d6900a03b7a0a0 /demos/autocomplete | |
parent | 012ed1a194df69485deb55d556437683dc7447e2 (diff) | |
download | jquery-ui-b53bf774cef3c94d73a99fb34b979346abff29dc.tar.gz jquery-ui-b53bf774cef3c94d73a99fb34b979346abff29dc.zip |
partial for #5126 - less rows in remote demo to avoid scrolling
Diffstat (limited to 'demos/autocomplete')
-rw-r--r-- | demos/autocomplete/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/autocomplete/search.php b/demos/autocomplete/search.php index 7daecfbf5..01206489a 100644 --- a/demos/autocomplete/search.php +++ b/demos/autocomplete/search.php @@ -632,7 +632,7 @@ foreach ($items as $key=>$value) { if (strpos(strtolower($key), $q) !== false) { array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key))); } - if (count($result) > 12) + if (count($result) > 11) break; } echo array_to_json($result); |