Skip to content

Commit

Permalink
Prettied the code
Browse files Browse the repository at this point in the history
  • Loading branch information
quinthar committed Nov 17, 2024
1 parent cdb71f3 commit 7b4eebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions help/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ window.tocbot.init({
headingObjectCallback(obj, element) {
const tocTitle = element.getAttribute('data-toc-title');
if (tocTitle) {
const newObj = { ...obj };
const newObj = {...obj};
newObj.textContent = tocTitle;
return newObj;
}
Expand Down Expand Up @@ -273,4 +273,4 @@ function highlightSelectedSection(sectionId) {
// Close modal after clicking a search result
function closeModalAfterClick() {
g_searchModal.style.display = 'none';
}
}

0 comments on commit 7b4eebf

Please sign in to comment.