mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Linting fix
This commit is contained in:
parent
3d275dd559
commit
40567a6ed9
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ const ANCHOR_ELEMENTS_BLOCKED_ATTRIBUTES = [
|
|||
export const getTopOmnivoreAnchorElement = (
|
||||
articleContentElement: HTMLDivElement
|
||||
): string | undefined => {
|
||||
var lastVisibleAnchor: Element | undefined = undefined
|
||||
let lastVisibleAnchor: Element | undefined = undefined
|
||||
const anchors = Array.from(
|
||||
articleContentElement.querySelectorAll(`[data-omnivore-anchor-idx]`)
|
||||
).reverse()
|
||||
|
|
|
|||
Loading…
Reference in a new issue