Commit 7bae8fdc authored by Michael Iseard's avatar Michael Iseard
Browse files

Add 'open' class to header when mobile menu open

parent 48211114
export default {
init() {
let $header = $('header.banner');
let $navbar = $('.navbar-collapse');
$navbar.on('show.bs.collapse', function () {
$header.addClass('open');
});
$navbar.on('hide.bs.collapse', function () {
$header.removeClass('open');
});
},
finalize() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment