Skip to content

Commit 6127274

Browse files
committed
Correct javascript that toggles visibility of byme/forme discusses. Fixes ietf-tools#3263. Commit ready for merge.
- Legacy-Id: 18969
1 parent 445f98d commit 6127274

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/templates/iesg/discusses.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h1>IESG discuss positions</h1>
4949
</tr>
5050
</thead>
5151

52-
<tbody>
52+
<tbody id="doclist">
5353
{% for doc in docs %}
5454
<tr class="{% if doc.by_me %}byme{% endif %} {% if doc.for_me %}forme{% endif %}">
5555
<td>
@@ -83,10 +83,10 @@ <h1>IESG discuss positions</h1>
8383
$(".discuss").click(function () {
8484
var x = $(this).find("input").val();
8585
if (x === "all") {
86-
$("tbody tr").removeClass("hidden");
86+
$("#doclist>tr").removeClass("hidden");
8787
} else {
88-
$("tbody tr." + x).removeClass("hidden");
89-
$("tbody tr:not(." + x + ")").addClass("hidden");
88+
$("#doclist>tr." + x).removeClass("hidden");
89+
$("#doclist>tr:not(." + x + ")").addClass("hidden");
9090
}
9191
});
9292
</script>

0 commit comments

Comments
 (0)