From abb1cf8904ac832dde4445d7bc2a856434f46723 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Sat, 3 Nov 2018 04:59:34 -0400 Subject: [PATCH] fix(search): insight close touch event passthrough --- source/js/insight.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/js/insight.js b/source/js/insight.js index 41a50f5..c9aabde 100644 --- a/source/js/insight.js +++ b/source/js/insight.js @@ -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) {