Viewing 1 replies (of 1 total)
  • Ok, friend of mine resolved this problem.
    You need to find full-screen-search.js in plugin folder and add following code:

    $(document).keydown(function(event) {
            if (event.keyCode == 27) {
                event.preventDefault();
                $( '#full-screen-search' ).removeClass( 'open' );
            }
        });
    
        $( '#full-screen-search' ).click(function(event) {
            if (event.target == $( '#full-screen-search-form' ).get(0)) {
                event.preventDefault();
                $( '#full-screen-search' ).removeClass( 'open' );
            }
    	});

    right after

    $( '#full-screen-search' ).removeClass( 'open' );
    } );
    • This reply was modified 3 years, 2 months ago by steelinside.
    • This reply was modified 3 years, 2 months ago by steelinside.
Viewing 1 replies (of 1 total)
  • The topic ‘Close on Esc’ is closed to new replies.