Some more mobile fix

This commit is contained in:
Quentin Rouland 2019-09-05 19:21:54 +02:00
parent 87af21c39e
commit e2a1e9e47a
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<header>
<!-- Navbar -->
<nav class="navbar fixed-top navbar-expand-lg navbar-light white scrolling-navbar">
<nav class="navbar fixed-top navbar-expand-lg navbar-light white scrolling-navbar" id="button_menu">
<div class="container">
<!-- Brand -->
@ -418,6 +418,8 @@
$(new_hash).css('display', 'block');
$(new_hash + "_menu").addClass('active');
$(location).prop('hash', new_hash);
$("#navbarSupportedContent").removeClass('show');
window.scrollTo(0, 0);
}
var hash = $(location).attr('hash');