From f0cbe33f6aa3632e530896a812bcea72c947863c Mon Sep 17 00:00:00 2001 From: Krateng Date: Fri, 25 Sep 2020 04:09:31 +0200 Subject: [PATCH] Fixed bug in pulse / performance display when no local preference set --- maloja/web/jinja/artist.jinja | 4 ++-- maloja/web/jinja/track.jinja | 4 ++-- maloja/web/static/js/rangeselect.js | 6 ------ 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/maloja/web/jinja/artist.jinja b/maloja/web/jinja/artist.jinja index 802fed5..b59c59a 100644 --- a/maloja/web/jinja/artist.jinja +++ b/maloja/web/jinja/artist.jinja @@ -103,7 +103,7 @@ {% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %} @@ -136,7 +136,7 @@ {% with filterkeys={'artist':credited},limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %} diff --git a/maloja/web/jinja/track.jinja b/maloja/web/jinja/track.jinja index 0e3d021..74c389f 100644 --- a/maloja/web/jinja/track.jinja +++ b/maloja/web/jinja/track.jinja @@ -87,7 +87,7 @@ {% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %} @@ -117,7 +117,7 @@ {% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %} diff --git a/maloja/web/static/js/rangeselect.js b/maloja/web/static/js/rangeselect.js index dfadcf7..f42d789 100644 --- a/maloja/web/static/js/rangeselect.js +++ b/maloja/web/static/js/rangeselect.js @@ -52,12 +52,6 @@ document.addEventListener('DOMContentLoaded',function() { if (val != null) { showRange(type,val); } - else { - var val = neo.getCookie("rangeselect_" + type); - if (val != undefined) { - showRangeManual(type,val); //sets local storage - } - } }