Correction search and auto update conflict

This commit is contained in:
2018-11-29 10:36:39 +09:00
parent 78404e7314
commit 94e727721b
2 changed files with 5 additions and 3 deletions

View File

@ -212,7 +212,9 @@ $(document).ready(() => {
contacts = JSON.parse(data).contacts;
$("table tbody").empty();
displayContacts(contacts);
if ($("#search").val().length <= 0) {
displayContacts(contacts);
}
}
})
}, 10000);