Skip to content

Commit

Permalink
Merge pull request #596 from wikitree/category_display_vs_management
Browse files Browse the repository at this point in the history
Category Management now works with Category Display option "list"
  • Loading branch information
shogenapps authored Dec 29, 2024
2 parents f157dc9 + f3cc44e commit c6fffe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/categoryDisplay/categoryDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ async function moveCategories() {
return `<div id="categories"><ol class="star">${listCats}</ol></div>`;
});
$("#categories span").replaceWith(function () {
return `<li>${this.innerHTML}</li>`;
//span needed for feature Category Management to find the categories within the div
return `<li><span>${this.innerHTML}</span></li>`;
});
break;
}
Expand Down

0 comments on commit c6fffe6

Please sign in to comment.