Fix: mobile menu stays open after a navigation click and blocks most parts of the gui
This commit is contained in:
1 parent
7b635e10c9
commit
d1f3fe382e
1 file changed
+7
@@ -42,3 +42,10 @@ $(".blue-bg .btnDownload").click(function() {
|
||||
$(".blue-bg .card-overlay .close-icon").click(function () {
|
||||
hideCard($(".blue-bg .card-overlay"));
|
||||
});
|
||||
|
||||
// Close menu after click (on mobile)
|
||||
$(document).on('click','.navbar-collapse.in',function(e) {
|
||||
if( $(e.target).is('a') && $(e.target).attr('class') != 'dropdown-toggle' ) {
|
||||
$(this).collapse('hide');
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user