Skip to content

Commit

Permalink
Fix quirks mode check
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjbradshaw committed Feb 11, 2025
1 parent be92858 commit 5d384c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/child/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function iframeResizerChild() {
}

function checkQuirksMode() {
if (document.compatMode === 'BackCompat') return
if (document.compatMode !== 'BackCompat') return

advise(
`<rb>Quirks Mode Detected</>
Expand Down

0 comments on commit 5d384c7

Please sign in to comment.