Commit 125d677e authored by Ian Jones's avatar Ian Jones

Update layout-router.tsx

parent 95b4d16e
...@@ -144,7 +144,6 @@ function shouldSkipElement(element: HTMLElement) { ...@@ -144,7 +144,6 @@ function shouldSkipElement(element: HTMLElement) {
return false return false
} }
// If checkVisibility is available, use it to check if the element is hidden
if ('checkVisibility' in element) { if ('checkVisibility' in element) {
return !element.checkVisibility() return !element.checkVisibility()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment