10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-08-25 21:51:51 +02:00
This commit is contained in:
Mickaël Véril 2019-09-28 16:41:32 +02:00
parent f1832d1164
commit f8b654de60

View File

@ -40,7 +40,7 @@ draft: false
const vals=uniq(window.dats.map((d)=>{return d[$(this).attr("name")]}))
for (const val of vals){
op=document.createElement("option")
op.value=val
op.value=JSON.stringify(val)
op.innerText=val.toString()
$(this).append(op)
}
@ -55,7 +55,7 @@ draft: false
if(typeof values=="undefined" || values==null){
return false
}
return values.map((v)=>JSON.stringify(v)).includes(JSON.stringify(d[prop]))
return values.includes(JSON.stringify(d[prop]))
})
})
var tb=document.getElementById("table_b");