mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed bug in pulse / performance display when no local preference set
This commit is contained in:
parent
5e93eb15f4
commit
f0cbe33f6a
@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
<span
|
<span
|
||||||
class="stat_module_pulse pulse_{{ r.identifier }}"
|
class="stat_module_pulse pulse_{{ r.identifier }}"
|
||||||
style="{{ 'display:none;' if initialrange==r.identifier else '' }}"
|
style="{{ 'display:none;' if initialrange!=r.identifier else '' }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
{% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
{% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
||||||
@ -136,7 +136,7 @@
|
|||||||
|
|
||||||
<span
|
<span
|
||||||
class="stat_module_pulse pulse_{{ r.identifier }}"
|
class="stat_module_pulse pulse_{{ r.identifier }}"
|
||||||
style="{{ 'display:none;' if initialrange==r.identifier else '' }}"
|
style="{{ 'display:none;' if initialrange!=r.identifier else '' }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
{% with filterkeys={'artist':credited},limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
{% with filterkeys={'artist':credited},limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
|
|
||||||
<span
|
<span
|
||||||
class="stat_module_pulse pulse_{{ r.identifier }}"
|
class="stat_module_pulse pulse_{{ r.identifier }}"
|
||||||
style="{{ 'display:none;' if initialrange==r.identifier else '' }}"
|
style="{{ 'display:none;' if initialrange!=r.identifier else '' }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
{% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
{% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
||||||
@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
<span
|
<span
|
||||||
class="stat_module_pulse pulse_{{ r.identifier }}"
|
class="stat_module_pulse pulse_{{ r.identifier }}"
|
||||||
style="{{ 'display:none;' if initialrange==r.identifier else '' }}"
|
style="{{ 'display:none;' if initialrange!=r.identifier else '' }}"
|
||||||
>
|
>
|
||||||
|
|
||||||
{% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
{% with limitkeys={"since":r.firstrange},delimitkeys={'step':r.identifier,'trail':1} %}
|
||||||
|
@ -52,12 +52,6 @@ document.addEventListener('DOMContentLoaded',function() {
|
|||||||
if (val != null) {
|
if (val != null) {
|
||||||
showRange(type,val);
|
showRange(type,val);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
var val = neo.getCookie("rangeselect_" + type);
|
|
||||||
if (val != undefined) {
|
|
||||||
showRangeManual(type,val); //sets local storage
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user