10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 05:03:53 +01: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(){ $("#btn_download").click(function(){
window.open(filename,"_self"); window.open(filename,"_self");
}) })
document.getElementById('fileTitle').innerText=filename; $('#fileTitle').text(filename);
document.getElementById('fileContent').innerText=await textPromise; $('#fileContent').text(await textPromise)
document.getElementById('file').hidden=false; $('#file').show();
document.getElementById("div_btn").hidden=false; $("#div_btn").show();
} else if(params.has(key[1])){ } else if(params.has(key[1])){
var base64=params.get(key[1]); var base64=params.get(key[1]);