1
0
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:
Remco 2014-10-16 21:33:09 +02:00
parent de551a26b6
commit 2989c86c96
4 changed files with 5 additions and 7 deletions

View File

@ -15,8 +15,8 @@
<!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="styles/main.css"> <link rel="stylesheet" href="styles/main.css">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Source+Code+Pro:300" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:300" rel="stylesheet" type="text/css">
<script src="scripts/vendor/modernizr.js"></script> <script src="scripts/vendor/modernizr.js"></script>
</head> </head>

File diff suppressed because one or more lines are too long

View File

@ -15,8 +15,8 @@
<!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="styles/main.css"> <link rel="stylesheet" href="styles/main.css">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:100,200,300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro:300' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:300' rel='stylesheet' type='text/css'>
<!-- build:js scripts/vendor/modernizr.js --> <!-- build:js scripts/vendor/modernizr.js -->
<script src="bower_components/modernizr/modernizr.js"></script> <script src="bower_components/modernizr/modernizr.js"></script>

View File

@ -57,8 +57,6 @@ $(document).ready(function () {
$(li).html('<span>Error (' + xhr.status + ') during upload of file ' + file.name + '</span>'); $(li).html('<span>Error (' + xhr.status + ') during upload of file ' + file.name + '</span>');
} }
files.push(xhr.responseText.replace("https://transfer.sh/", ""));
files.push(URI(xhr.responseText).absoluteTo(location.href).toString()); files.push(URI(xhr.responseText).absoluteTo(location.href).toString());
$(".download-zip").attr("href", URI("(" + files.join(",") + ").zip").absoluteTo(location.href).toString()); $(".download-zip").attr("href", URI("(" + files.join(",") + ").zip").absoluteTo(location.href).toString());