Skip to content

Commit b53bf77

Browse files
committed
partial for #5126 - less rows in remote demo to avoid scrolling
1 parent 012ed1a commit b53bf77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/autocomplete/search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ function array_to_json( $array ){
632632
if (strpos(strtolower($key), $q) !== false) {
633633
array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key)));
634634
}
635-
if (count($result) > 12)
635+
if (count($result) > 11)
636636
break;
637637
}
638638
echo array_to_json($result);

0 commit comments

Comments
 (0)