I used the standard modal window Bootstrap, the code is the same as on the site, and the buttons, and the window itself, also script them.
The bottom line is that as soon as the window opens, it immediately closes, as if the closure hung on the same button.
I think it makes no sense to throw the standard code, you can look at the page itself on the server, there is a button below the footer below. Can anyone come across such a problem.
No extra handlers are hanging, I tried to insert it on a blank page of the same site, the problem is the same.

    1 answer 1

    You have bootstrap scripts connected twice in a row. The second line must be removed.

    <script src="js/bootstrap.min.js"></script> <script type="text/javascript" src="js/bootstrap.js"></script>