Skip to content

Commit

Permalink
Move the id of tag span to its class
Browse files Browse the repository at this point in the history
  • Loading branch information
Hui-Li committed Aug 22, 2020
1 parent 9b410a4 commit a28aee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h1>
<div class="row">
<div class="col-xs-12">
{% for sub in conf.sub %}
<span title="Click to only show {{sub}} conferences" data-sub="{{sub}}" class="conf-sub" id="{{sub}}"></span>
<span title="Click to only show {{sub}} conferences" data-sub="{{sub}}" class="conf-sub {{sub}}-tag"></span>
{% endfor %}
</div>
</div>
Expand Down Expand Up @@ -174,7 +174,7 @@ <h1>

{% for conf in site.data.conferences %}
{% for sub in conf.sub %}
$('#{{conf.id}} #{{sub}}').html(sub2name["{{sub}}"].toLocaleLowerCase());
$('#{{conf.id}} .{{sub}}-tag').html(sub2name["{{sub}}"].toLocaleLowerCase());
{% endfor %}
{% if conf.deadline == "TBA" %}
$('#{{conf.id}} .timer').html("TBA");
Expand Down

0 comments on commit a28aee3

Please sign in to comment.