Skip to content

Commit

Permalink
Update file.html
Browse files Browse the repository at this point in the history
  • Loading branch information
inventionpro authored Mar 3, 2024
1 parent 4d31bf1 commit 470e731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/file.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<script>
const params = new URLSearchParams(window.location.search);
document.getElementById('Bupload').href = '/user/upload?id='+params.get('id')+'&dir=/'+params.get('file');
document.getElementById('KP').innerHTML = `<a href="/server?id=${params.get('id')}">server</a>/${params.get('file').split('/').slice(0,params.get('file').split('/').length-1).map(r=>{return `<a href="/file?id=${params.get('id')}&file=${params.get('file').split(r)[0]}${r}&f=false">${r}</a>`}).join('/')}/${params.get('file').split('/').slice(-1)[0]}`.replace('//','/');
document.getElementById('KP').innerHTML = `<a href="/user/server?id=${params.get('id')}">server</a>/${params.get('file').split('/').slice(0,params.get('file').split('/').length-1).map(r=>{return `<a href="/file?id=${params.get('id')}&file=${params.get('file').split(r)[0]}${r}&f=false">${r}</a>`}).join('/')}/${params.get('file').split('/').slice(-1)[0]}`.replace('//','/');
function fe(name) {
modal = name;
document.getElementById('fe').showModal();
Expand Down

0 comments on commit 470e731

Please sign in to comment.