We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a79b9 commit 598cec2Copy full SHA for 598cec2
src/Elastic.Markdown/Assets/main.ts
@@ -56,6 +56,7 @@ document.addEventListener('htmx:beforeRequest', function (event) {
56
document.body.addEventListener('htmx:oobBeforeSwap', function (event) {
57
// This is needed to scroll to the top of the page when the content is swapped
58
if (
59
+ event.target.id === 'main-container' ||
60
event.target.id === 'markdown-content' ||
61
event.target.id === 'content-container'
62
) {
0 commit comments