Google Maps placehoder : CSS rule added continuously
-
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.The page I need help with: [log in to see the link]
The topic ‘Google Maps placehoder : CSS rule added continuously’ is closed to new replies.