Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Fixes289 #292

Merged
merged 3 commits into from
Jul 24, 2017
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ public/upload.js
public/download.js
public/version.json
public/l20n.min.js
public/bundle.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just rm public/bundle.js from your local machine and this shouldn't be necessary

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, will change that now.

static/*
!static/info.txt
test/frontend/bundle.js
4 changes: 0 additions & 4 deletions frontend/src/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ $(document).ready(function() {
});
});

$('#expired-send-new').click(function() {
storage.referrer = 'errored-download';
});

const filename = $('#dl-filename').text();
const bytelength = Number($('#dl-bytelength').text());
const timeToExpiry = Number($('#dl-ttl').text());
Expand Down
2 changes: 1 addition & 1 deletion views/notfound.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<img src="/resources/illustration_expired.svg" id="expired-img" data-l10n-id="linkExpiredAlt"/>
</div>
<div class="expired-description" data-l10n-id="uploadPageExplainer"></div>
<a class="send-new" id="expired-send-new" data-l10n-id="sendYourFilesLink"></a>
<a class="send-new" href="/" id="expired-send-new" data-l10n-id="sendYourFilesLink"></a>
</div>