mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding Sat Sep 10 06:53:01 PM CST 2022
This commit is contained in:
parent
b6eb718e75
commit
e82c754b00
3 changed files with 20 additions and 9 deletions
|
@ -90,14 +90,16 @@
|
|||
};
|
||||
|
||||
//dictinput.onClick = {(e)=>{e.target.value="";}};
|
||||
let filenames = location.search.substring(6);
|
||||
if(filenames.length>0){
|
||||
dictinput.setAttribute('accept',filenames);
|
||||
setTimeout(()=>{location.href="i:5fdictinput.click();"},100);
|
||||
setTimeout(()=>{location.href="i:5fdictinput.click();"},300);
|
||||
setTimeout(()=>{dictinput.dispatchEvent(new Event('change'));dictinput.removeAttribute('accept')},500);
|
||||
window.onload = function() {
|
||||
let filenames = location.search.substring(6);
|
||||
if(filenames.length>0){
|
||||
dictinput.setAttribute('accept',filenames);
|
||||
location.href="i:5fdictinput.click()";
|
||||
//setTimeout(()=>{location.href="i:5fdictinput.click();"},100);
|
||||
//setTimeout(()=>{location.href="i:5fdictinput.click();"},300);
|
||||
setTimeout(()=>{dictinput.dispatchEvent(new Event('change'));dictinput.removeAttribute('accept')},500);
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue