10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +01:00

Minor performance improvement

This commit is contained in:
Mickaël Véril 2020-09-03 17:12:08 +02:00
parent 0359764e55
commit 461e2f8340

View File

@ -189,8 +189,7 @@ draft: false
if (!isLast) { if (!isLast) {
await reloadSelect(afters.prop("name")) await reloadSelect(afters.prop("name"))
} }
const fillArray = ["molecule"] if (afters.prop("name") ==="molecule"){
if (fillArray.includes(afters.prop("name"))) {
selectSelectAll(afters.first()) selectSelectAll(afters.first())
} }
} }