Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jul 30, 2024
1 parent 32c3e45 commit fb60a9c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/lib/components/modes/treemode/TreeMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,13 @@
}
if (showSearch && refContents.scrollTop === 0) {
refContents.style.overflowAnchor = 'none'
refContents.scrollTop += SEARCH_BOX_HEIGHT
setTimeout(() => {
if (refContents) {
refContents.style.overflowAnchor = ''
}
})
refContents.style.overflowAnchor = 'none'
refContents.scrollTop += SEARCH_BOX_HEIGHT
setTimeout(() => {
if (refContents) {
refContents.style.overflowAnchor = ''
}
})
}
}
Expand Down

0 comments on commit fb60a9c

Please sign in to comment.