javascript - Opening a modal above another one disables the scroll of the first modal when the second one is closed -


i have 2 pop divs, 1 login:

<!-- sign in modal -->     <div class="modal fade login_popup" id="mymodal" tabindex="-1" role="dialog" aria-labelledby="mymodallabel">     .... </div> 

one signup:

<!-- sign modal --> <div class="modal fade login_popup" id="sign_up" tabindex="-1" role="dialog" aria-labelledby="mymodallabel"> 

the problem when try click sign-up pop login, closing sign afterwards hangs first opened pop up(login), doesnt scroll or anything.

what need have 1 pop opened @ time , no hang up.

i tried triggering click on second pop modal , triggered first pop close. closes first pop still pop hangs up.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -