mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-17 08:21:39 -05:00
- Add ensureBodyExists() to wait for document.body availability - Wrap inline script content to defer execution until DOM is ready - Add defensive checks to prevent race conditions - Skip wrapping for scripts that already have DOM-ready checks - Only wrap inline scripts, not external scripts with src attribute Fixes FORMBRICKS-RW