Skip to content

Commit a35ccfb

Browse files
authored
Changed default display of papers to be open
1 parent 840f447 commit a35ccfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/app/templates/papers-card.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% for year in papers|sort(reverse=True) %}
2-
<button class="year"><span class="fas fa-caret-right fa-fw r-arrow"></span><span class="fas fa-caret-down fa-fw d-arrow"></span>{% if year == "0" %}Undated{% else %}{{ year }}{% endif %}</button>
3-
<ul class="paperlist paperlist-hidden">
2+
<button class="year year-active"><span class="fas fa-caret-right fa-fw r-arrow"></span><span class="fas fa-caret-down fa-fw d-arrow"></span>{% if year == "0" %}Undated{% else %}{{ year }}{% endif %}</button>
3+
<ul class="paperlist">
44
{% for paper in papers[year] %}
55
<li>
66
<strong><em>{{ paper.title }}</em></strong></br>
@@ -28,4 +28,4 @@
2828
content.classList.toggle("paperlist-hidden");
2929
});
3030
}
31-
</script>
31+
</script>

0 commit comments

Comments
 (0)