diff --git a/ietf/static/js/ietf.js b/ietf/static/js/ietf.js index 9a98b38fd..503cff28e 100644 --- a/ietf/static/js/ietf.js +++ b/ietf/static/js/ietf.js @@ -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 () { `)) - .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. diff --git a/ietf/templates/meeting/agenda.html b/ietf/templates/meeting/agenda.html index 5d39d047d..9fd272240 100644 --- a/ietf/templates/meeting/agenda.html +++ b/ietf/templates/meeting/agenda.html @@ -110,7 +110,8 @@ {% ifchanged item.timeslot.time|date:"Y-m-d" %}