fix(search): insight close touch event passthrough

This commit is contained in:
ppoffice 2018-11-03 04:59:34 -04:00
parent 43f90c6da8
commit abb1cf8904
1 changed files with 4 additions and 0 deletions

View File

@ -213,6 +213,10 @@
if (e.type !== 'click' && !touch) {
return;
}
$('.navbar-main').css('pointer-events', 'none');
setTimeout(function(){
$('.navbar-main').css('pointer-events', 'auto');
}, 400);
$main.removeClass('show');
touch = false;
}).on('keydown', function (e) {