L
L
lavezzi12018-02-13 13:11:44
JavaScript
lavezzi1, 2018-02-13 13:11:44

How to correctly implement the closing of the window in this case?

Hello. I wrote such a module for the modal: https://jsfiddle.net/hg6657ou/
The problem is that when you click on the button, the modal opens and immediately closes it because there was a click past the modal. How to correctly implement this functionality, please tell me?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question