• Resolved mister pc

    (@m1st3rpc)


    Hi Complianz,

    I meet an issue with the Google Maps placeholder.
    I put a Google map in the footer of the site via the flippercode’s WP Maps.

    If the user hasn’t still approved his consent, when inspecting the element, I observe on the .cmplz-placeholder-element two CSS rules that are added continuously, which slows my browser and increases its memory usage :
    The concerned rules are the following :

    .cmplz-placeholder-1 {
    height: <calculated height>;
    }
    .cmplz-placeholder-1 {
    background-image: url(https://dev.my-domain.com/wp-content/plugins/complianz-gdpr/assets/images/placeholders/google-maps-minimal-1280×920.jpg) !important;
    }

    It looks like there’s a background jQuery script that add them continuoulsy, and without checking if they already exists.
    This issue occurs with Firefox, but not with Chrome.

    Thanks in advance !

    Best regards
    Arnaud BeLO.

    • This topic was modified 1 year, 2 months ago by mister pc.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Antonio Candela

    (@antoiub)

    Hello @m1st3rpc ,

    Thank you for reaching out.

    We have checked this, and could you please try to disable “Enable cookie blocker for ajax loaded content” inside Settings > General to see if this makes a difference in Firefox?

    Please let us know. Looking forward to hearing from you.

    Best regards,
    Antonio

    Thread Starter mister pc

    (@m1st3rpc)

    Hello @antoiub,

    Thanks for your response !!
    Yes indeed, the issue has been resolved 🙂

    I don’t know if it can be seen as a bug, as the help tooltip about AJAX on the settings page doesn’t bring lot of information, and I didn’t look for it on your website, neither went down in the plugin code to fully understand this option (as it must be quite an heavy job :-$).

    Thanks again for your precious help, this gonna makes me finalize the website a little bit quicker, as the actual live website will close in a few weeks… and I still have some functionalities to implement.

    Best regards,
    Arnaud BeLO.

    Plugin Support Antonio Candela

    (@antoiub)

    Hello @m1st3rpc ,

    Thank you for your feedback! I’m glad to hear the issue has been resolved.

    If you need further assistance, feel free to create a new thread. We’re here to help! If you wish, you can also review our support; it would be greatly appreciated.

    Best regards,
    Antonio

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Google Maps placehoder : CSS rule added continuously’ is closed to new replies.