mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-26 14:23:42 +01:00
Fix btn.btn_download error
This commit is contained in:
parent
06b39d073d
commit
a56febec6e
@ -39,7 +39,7 @@ draft: false
|
|||||||
} else if(key[1] in queryDic){
|
} else if(key[1] in queryDic){
|
||||||
var base64=queryDic[key[1]];
|
var base64=queryDic[key[1]];
|
||||||
btn_download=document.getElementById("btn_download");
|
btn_download=document.getElementById("btn_download");
|
||||||
btn.btn_download.onclick=function(){
|
btn_download.onclick=function(){
|
||||||
window.open(String.raw`data:text/plain;base64,${base64}`,"_self")
|
window.open(String.raw`data:text/plain;base64,${base64}`,"_self")
|
||||||
}
|
}
|
||||||
document.getElementById('fileTitle').hudden=true
|
document.getElementById('fileTitle').hudden=true
|
||||||
|
Loading…
Reference in New Issue
Block a user