removing initialization on top in favor of default

This commit is contained in:
Abhinav Adduri 2017-07-21 13:41:59 -07:00
parent 09a6192bf5
commit b18bcd3b6e
2 changed files with 0 additions and 8 deletions

View File

@ -9,10 +9,6 @@ require('jquery-circle-progress');
const Raven = window.Raven; const Raven = window.Raven;
if (!storage.has('totalDownloads')) {
storage.totalDownloads = 0;
}
$(document).ready(function() { $(document).ready(function() {
//link back to homepage //link back to homepage
$('.send-new').attr('href', window.location.origin); $('.send-new').attr('href', window.location.origin);

View File

@ -10,10 +10,6 @@ require('jquery-circle-progress');
const Raven = window.Raven; const Raven = window.Raven;
if (!storage.has('totalUploads')) {
storage.totalUploads = 0;
}
if (storage.has('referrer')) { if (storage.has('referrer')) {
window.referrer = storage.referrer; window.referrer = storage.referrer;
storage.remove('referrer'); storage.remove('referrer');