mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixed #1718 search start at first character input for linked albums
This commit is contained in:
@@ -15,7 +15,8 @@ $(document).ready(function () {
|
||||
$("#linkedAlbumSearch .search-cancel-linked-album").hide();
|
||||
}
|
||||
|
||||
if ($(this).val().length > 2) {
|
||||
// Search input value length required to start searching
|
||||
if ($(this).val().length > 0) {
|
||||
linked_albums_search($(this).val());
|
||||
} else {
|
||||
$(".limitReached").html(str_no_search_in_progress);
|
||||
|
||||
Reference in New Issue
Block a user