You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was meant to verify that getSrcDoc() is safe to run, but
It should be !(getSrcDoc && ... ); as written the condition is never true.
We supply getSrcDoc so we'd get an exception and find the problem ourselves if getSrcDoc is not a function. The check isn't any more useful than an exception being thrown.
The text was updated successfully, but these errors were encountered:
This commit introduced the following check:
TeachLAFrontend/src/components/Output/Output.js
Lines 113 to 118 in 6f603af
This was meant to verify that
getSrcDoc()
is safe to run, but!(getSrcDoc && ... )
; as written the condition is never true.getSrcDoc
so we'd get an exception and find the problem ourselves ifgetSrcDoc
is not a function. The check isn't any more useful than an exception being thrown.The text was updated successfully, but these errors were encountered: