Plugin make scrollbar disappear after popup re-open
-
Hey there, thanks for this awesome plugin.
Small issue that I have :
I’ve put a login form into the popup and do a small function if login failed, re-open the popup like this :
function Popup_reopen_login() { ?> <script type="text/javascript"> window.onload = function () { PUM.open(904); } </script> <?php } add_action( 'wp_login_failed', 'my_front_end_login_fail' ); // hook failed login function my_front_end_login_fail() { Popup_reopen_login(); }
This work great, the popup re-open after a refresh. But if I close the popup, the scrollbar disappear and I cant scroll my page. I have to refresh or clique on a link in the menu.
Do you know how I can fixe this ?
Thanks in advance & have a good week end !
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Plugin make scrollbar disappear after popup re-open’ is closed to new replies.