From 7b4eebf90465c5f4425ccbd0ed05c7b2aeb7871e Mon Sep 17 00:00:00 2001 From: David Barrett Date: Sun, 17 Nov 2024 14:52:18 -0800 Subject: [PATCH] Prettied the code --- help/default.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/help/default.js b/help/default.js index ba85a8306680..d8e75413597a 100644 --- a/help/default.js +++ b/help/default.js @@ -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; } @@ -273,4 +273,4 @@ function highlightSelectedSection(sectionId) { // Close modal after clicking a search result function closeModalAfterClick() { g_searchModal.style.display = 'none'; -} \ No newline at end of file +}