10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-22 18:57:38 +02:00

Use more JQuery

This commit is contained in:
Mickaël Véril 2019-10-30 13:32:41 +01:00
parent f5d2df9811
commit 64ff9500c6

View File

@ -30,10 +30,10 @@ draft: false
$("#btn_download").click(function(){
window.open(filename,"_self");
})
document.getElementById('fileTitle').innerText=filename;
document.getElementById('fileContent').innerText=await textPromise;
document.getElementById('file').hidden=false;
document.getElementById("div_btn").hidden=false;
$('#fileTitle').text(filename);
$('#fileContent').text(await textPromise)
$('#file').show();
$("#div_btn").show();
} else if(params.has(key[1])){
var base64=params.get(key[1]);