fix(search): insight close touch event passthrough
This commit is contained in:
parent
43f90c6da8
commit
abb1cf8904
|
@ -213,6 +213,10 @@
|
||||||
if (e.type !== 'click' && !touch) {
|
if (e.type !== 'click' && !touch) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$('.navbar-main').css('pointer-events', 'none');
|
||||||
|
setTimeout(function(){
|
||||||
|
$('.navbar-main').css('pointer-events', 'auto');
|
||||||
|
}, 400);
|
||||||
$main.removeClass('show');
|
$main.removeClass('show');
|
||||||
touch = false;
|
touch = false;
|
||||||
}).on('keydown', function (e) {
|
}).on('keydown', function (e) {
|
||||||
|
|
Loading…
Reference in New Issue