10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix delete all #data child when reload

This commit is contained in:
Mickaël Véril 2020-01-04 12:57:22 +01:00
parent 2bff0d3190
commit 2666707914

View File

@ -264,6 +264,7 @@ draft: false
} }
$(sel_ref).prop("selectedIndex", 0); $(sel_ref).prop("selectedIndex", 0);
var data = $("#data") var data = $("#data")
$(data).empty();
if (window.filt.length > 0) { if (window.filt.length > 0) {
var sets = await getSets() var sets = await getSets()
for (const doi of doiCache.keys()) { for (const doi of doiCache.keys()) {