Correction search and auto update conflict

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

View File

@ -3,8 +3,8 @@
namespace CAUProject3Contact; namespace CAUProject3Contact;
class Config { class Config {
const SITE_JS_VERSION = '0.02'; const SITE_JS_VERSION = '0.03';
const SITE_CSS_VERSION = '0.02'; const SITE_CSS_VERSION = '0.03';
const TITLE_HEADER = 'Your contact'; const TITLE_HEADER = 'Your contact';
const DESCRIPTION_HEADER = 'Manage your contact easly'; const DESCRIPTION_HEADER = 'Manage your contact easly';

View File

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