removing initialization on top in favor of default
This commit is contained in:
parent
09a6192bf5
commit
b18bcd3b6e
@ -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);
|
||||||
|
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user