mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-06 01:54:30 +02:00
Limit number of returned search results
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
$("#filter").keyup( function () {
|
||||
var value = $(this).val().toLowerCase();
|
||||
//alert(value);
|
||||
if(value.length >= 3) {
|
||||
if(value.length >= 1) {
|
||||
$.getJSON("/api/songs/compl", { search: value }, function (data) {
|
||||
var items = [];
|
||||
$.each(data, function (key, val) {
|
||||
|
Reference in New Issue
Block a user