Popup not always shown
-
Hello,
I have noticed that the popup does not always work. To test things I made a change to the function should_show_popup in class-popup-system.php to always return true. This means that the popup will always be shown regardless if the SHOWN_COOKIE has been set or not.
On some pages the popup is shown, on some not, and switching between Safari and Chrome, it appears that there are more problems with Chrome. I wonder if it is not a timing issue in javascript, that something should wait for the page to be fully loaded before doing its job. Maybe the javascript function init in class-popup-system? (although it seems you’re handling that around line 350…)
christer
You must be logged in to reply to this topic.