Skip to content

Commit

Permalink
fix: new page sidebar item style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Dec 5, 2023
1 parent 708da99 commit b5dc817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wiki/public/js/render_wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ window.RenderWiki = class RenderWiki extends Wiki {
const groupName = $(this).parent().children("span:first-child").text();
const newWikiPage = $(".sidebar-item[data-name=new-wiki-page]");
const newSidebarItem = $(`
<li class="sidebar-item active" data-type="Wiki Page" data-name="new-wiki-page" data-group-name="${groupName}">
<li class="sidebar-item sidebar-group-item active" data-type="Wiki Page" data-name="new-wiki-page" data-group-name="${groupName}">
<div>
<a href="#" class="active">New Wiki Page</a>
<a href="#">New Wiki Page</a>
</div>
</li>
`);
Expand Down

0 comments on commit b5dc817

Please sign in to comment.