tolgee / tolgee-js

Tolgee JavaScript libraries monorepo
https://tolgee.io
MIT License
218 stars 24 forks source link

inject in-context-tools into head if body is not ready #3303

Closed wfjsw closed 3 months ago

wfjsw commented 3 months ago

For some reason document.body is null when loading in-context libs. This will alternatively inject them to <head>.

But I guess we can eliminate the check altogether and inject to <head> nevertheless since there will be no difference?

stepan662 commented 3 months ago

Yes, you are right I think this should go directly to the head (without the condition).