Procházet zdrojové kódy

several small fixes

tags/v1.0.0
Remco před 9 roky
rodič
revize
6a1e6d7ad0
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. +1
    -1
      transfersh-server/static/scripts/main.js
  2. +2
    -1
      transfersh-web/scripts/main.js

+ 1
- 1
transfersh-server/static/scripts/main.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 2
- 1
transfersh-web/scripts/main.js Zobrazit soubor

@@ -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());


Načítá se…
Zrušit
Uložit