getElementById() error on overlay on Firefox

  • I have an overlay triggered by time delay.

    In the firefox browser I get ‘Empty string passed to getElementById()’ message showing in the console multiple times. It is OK in other browsers.

    It happens when the cursor is hovered over the overlay

    The error occurs in wp-content/plugins/generateblocks-pro/dist/overlay.js
    at these columns:
    30055
    30499

    I have put the URL info in private area.

    I have turned caching off so you can see the original js file

  • Hi there,

    The warning is cosmetic (Firefox-only, no broken behavior), but the code should guard the ID before calling getElementById.

    I have raised an issue with the team. Thanks for reporting this!

  • thanks!

  • No problem, issue created in GitHub repo!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.