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:
parent
f5d2df9811
commit
64ff9500c6
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user