/*
Highlight the li element with href link to the current JMRI Help web page in the left sidebar.
nav sidebar a href links occur inside plain <li> as well as <dd><li> tags, supports both.
Since Nov 2019
*/

document.documentElement.className="hasJS";

$(function(){
var $page = window.location.href;
  $('a').each(function() {
    if ($(this).prop('href') == $page) {
      $(this.parentNode).addClass('here');
    }
  });
});
