Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Dec 5, 2023
1 parent b5dc817 commit 7658e01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion wiki/public/js/render_wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ window.RenderWiki = class RenderWiki extends Wiki {

sidebar_items.each(function (index) {
if ($(this).attr("class")) {
const hasActiveClass = $(this).attr("class").split(/\s+/).includes("active");
const hasActiveClass = $(this)
.attr("class")
.split(/\s+/)
.includes("active");
if (hasActiveClass) {
current_index = index;
}
Expand Down
2 changes: 1 addition & 1 deletion wiki/wiki/doctype/wiki_page_patch/wiki_page_patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ frappe.ui.form.on("Wiki Page Patch", {
background-color: #dcfce7;
text-decoration: none;
}
</style>`
</style>`,
);
}
},
Expand Down

0 comments on commit 7658e01

Please sign in to comment.