mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
partial for #5126 - less rows in remote demo to avoid scrolling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user