mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2025-01-12 05:58:23 +01:00
Use more JQuery
This commit is contained in:
parent
f5d2df9811
commit
64ff9500c6
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user