diff --git a/res/include/script/homepage.js b/res/include/script/homepage.js index dc9855a..8f0d649 100644 --- a/res/include/script/homepage.js +++ b/res/include/script/homepage.js @@ -103,8 +103,8 @@ function uploadsFinished() { let uploadLog = uploader.finishedUploads(); if (uploadLog.length === 1) { - shareTitle = "Download "+uploadLog[0].name+" here"; - shareLink = domainURL()+"/u/"+uploadLog[0].id; + shareTitle = "Download "+uploadLog[0].fileName+" here"; + shareLink = domainURL()+"/u/"+uploadLog[0].fileID; showShareButtons(); } else if (uploadLog.length > 1) {