Skip to content

Commit

Permalink
fix highlighting problems link
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Jun 29, 2023
1 parent 3558d15 commit c25cf09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion root/thruk/javascript/thruk-3.06.js
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ function check_side_nav_active_item(ctx) {
if(found) { return; }

// compare some main args
var keyArgs = ["type", "style"];
var keyArgs = ["type", "style", "title"];
jQuery("UL.navsectionlinks A", ctx).each(function(i, el) {
var navPage = el.href.toString().replace(/^.*\//, '').replace(/\?.*$/, '');
if(navPage == page) {
Expand All @@ -890,6 +890,7 @@ function check_side_nav_active_item(ctx) {
}
}
});
if(found) { return; }

// compare only main page
jQuery("UL.navsectionlinks A", ctx).each(function(i, el) {
Expand Down

0 comments on commit c25cf09

Please sign in to comment.