Rename pushbook to download

This commit is contained in:
Junior 2025-03-13 13:48:50 -04:00
parent 7b7f866582
commit f5b0b2aab5
2 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function getContents() {
if ( item.folder == true ) {
contents += '<div><span class="target folder" data-newpath="' + item.fullpath + '">' + item.displayname + "</span></div>";
} else {
contents += '<div><a href="pushbook.php?id=' + item.id;
contents += '<div><a href="download.php?id=' + item.id;
if ( item.displayname.substring(item.displayname.length - 4) == "epub" ) {
contents += '&file=' + item.displayname + '" target="_blank"';
} else {