Skip to content

Commit

Permalink
Update GmeekTOC.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Meekdai committed Aug 6, 2024
1 parent 2e78ea2 commit 6722f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/GmeekTOC.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function createTOC() {
tocElement.appendChild(link);
});

tocElement.insertAdjacentHTML('beforeend', '<a href="#" class="toc-end" onclick="window.scrollTo({top:0,behavior: \'smooth\'});">Top</a>');
tocElement.insertAdjacentHTML('beforeend', '<a class="toc-end" onclick="window.scrollTo({top:0,behavior: \'smooth\'});">Top</a>');
contentContainer.prepend(tocElement);
}

Expand Down

0 comments on commit 6722f61

Please sign in to comment.