Skip to content

Commit

Permalink
Slight mod to the category selection on accepted papers.
Browse files Browse the repository at this point in the history
  • Loading branch information
haz committed Feb 22, 2024
1 parent 12fdb28 commit bc3e552
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layouts/shortcodes/accepted_table_json.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ <h2>Primary Keywords</h2>

<div>
<button class="btn" onclick="$('.category-btn').addClass('selected'); update_categories(this)">All</button>
<button class="btn" onclick="$('.category-btn').removeClass('selected'); update_categories(this)">None</button>
</div>
<br />
<div>
Expand All @@ -109,6 +108,7 @@ <h2>Primary Keywords</h2>
<button class="btn category-btn selected" data-category="robotics" onclick="update_categories(this)">Robotics</button>
<button class="btn category-btn selected" data-category="temporal-planning" onclick="update_categories(this)">Temporal Planning</button>
<button class="btn category-btn selected" data-category="theory" onclick="update_categories(this)">Theory</button>
<button class="btn category-btn selected" data-category="no-category" onclick="update_categories(this)">No Keyword</button>
</div>
<br />

Expand Down Expand Up @@ -179,7 +179,6 @@ <h2 style="color: orange"><a name="{{ print $track.name }}">{{ print $track.name
selectedCategories.forEach(function(cat) {
$('.' + cat).show();
});
$('.no-category').show();
}
};
</script>
Expand Down

0 comments on commit bc3e552

Please sign in to comment.