fix: Re-add agenda day navigation targets to right-hand nav (#3723)
Fixes #3698
This commit is contained in:
parent
fd2adc86eb
commit
d47692546e
|
@ -110,15 +110,15 @@ $(function () {
|
|||
const contentElement = $('#content.ietf-auto-nav');
|
||||
if (contentElement.length > 0) {
|
||||
const headings = contentElement
|
||||
.find("h1:visible, h2:visible, h3:visible, h4:visible, h5:visible, h6:visible")
|
||||
.find("h1:visible, h2:visible, h3:visible, h4:visible, h5:visible, h6:visible, .nav-heading:visible")
|
||||
.not(".navskip");
|
||||
|
||||
const contents = (headings.length > 0) &&
|
||||
($(headings)
|
||||
.html()
|
||||
.split("<")
|
||||
.shift()
|
||||
.trim());
|
||||
($(headings)
|
||||
.html()
|
||||
.split("<")
|
||||
.shift()
|
||||
.trim());
|
||||
|
||||
if (
|
||||
contents &&
|
||||
|
@ -143,7 +143,7 @@ $(function () {
|
|||
</nav>
|
||||
</div>
|
||||
`))
|
||||
.find("h1:visible, h2:visible, h3:visible, h4:visible, h5:visible, h6:visible")
|
||||
.find("h1:visible, h2:visible, h3:visible, h4:visible, h5:visible, h6:visible, .nav-heading:visible")
|
||||
.not(".navskip")
|
||||
.each(function () {
|
||||
// Some headings have complex HTML in them - only use first part in that case.
|
||||
|
|
|
@ -110,7 +110,8 @@
|
|||
{% ifchanged item.timeslot.time|date:"Y-m-d" %}
|
||||
<tr class="table-primary show-with-children">
|
||||
<th colspan="{% if personalize %}6{% else %}5{% endif %}"
|
||||
id="slot-{{ item.timeslot.time|slugify }}">
|
||||
id="slot-{{ item.timeslot.time|slugify }}"
|
||||
class="nav-heading">
|
||||
{{ item.timeslot.time|date:"l, F j, Y" }}
|
||||
</th>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue