mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
several small fixes
This commit is contained in:
parent
2989c86c96
commit
6a1e6d7ad0
File diff suppressed because one or more lines are too long
@ -57,7 +57,8 @@ $(document).ready(function () {
|
||||
$(li).html('<span>Error (' + xhr.status + ') during upload of file ' + file.name + '</span>');
|
||||
}
|
||||
|
||||
files.push(URI(xhr.responseText).absoluteTo(location.href).toString());
|
||||
files.push(xhr.responseText.replace("https://transfer.sh/", "").replace("\n", ""));
|
||||
// files.push(URI(xhr.responseText).absoluteTo(location.href).toString());
|
||||
|
||||
$(".download-zip").attr("href", URI("(" + files.join(",") + ").zip").absoluteTo(location.href).toString());
|
||||
$(".download-tar").attr("href", URI("(" + files.join(",") + ").tar.gz").absoluteTo(location.href).toString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user