How do I close a modal window?

  • 0
    On the page a video portfolio is implemented. The site is made on Wordpress, the wow plugins - modal window plugin is responsible for a custom modal window that pops up by clicking on the video.
    Everything opens normally, but does not close when you press the close button. In the plugin settings it is possible to add closing by ESC, enabled. But this is a bad option.
    Code: -css-js ... -css-js ...
    JavaScript Asher Hinton, Apr 3, 2019

  • 1 Answers
  • 0
    But because you have no closure there. You have a video link clearing there

    And it should be like this

    jQuery(function ($) {
    $(document).on('click','',function () {

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!