From b18bcd3b6ea1a726d5206d5ed6a03c86334bde27 Mon Sep 17 00:00:00 2001 From: Abhinav Adduri Date: Fri, 21 Jul 2017 13:41:59 -0700 Subject: [PATCH] removing initialization on top in favor of default --- frontend/src/download.js | 4 ---- frontend/src/upload.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/frontend/src/download.js b/frontend/src/download.js index 7fae6c00..c8a82d0d 100644 --- a/frontend/src/download.js +++ b/frontend/src/download.js @@ -9,10 +9,6 @@ require('jquery-circle-progress'); const Raven = window.Raven; -if (!storage.has('totalDownloads')) { - storage.totalDownloads = 0; -} - $(document).ready(function() { //link back to homepage $('.send-new').attr('href', window.location.origin); diff --git a/frontend/src/upload.js b/frontend/src/upload.js index 0d824f9d..6a6e8038 100644 --- a/frontend/src/upload.js +++ b/frontend/src/upload.js @@ -10,10 +10,6 @@ require('jquery-circle-progress'); const Raven = window.Raven; -if (!storage.has('totalUploads')) { - storage.totalUploads = 0; -} - if (storage.has('referrer')) { window.referrer = storage.referrer; storage.remove('referrer');