Fix mobile navi
parent
61977f5da9
commit
2d9c722b3e
@ -0,0 +1,13 @@
|
||||
;(function($, window, document, undefined) {
|
||||
'use strict';
|
||||
|
||||
$(document).ready(function () {
|
||||
$('[data-toggle="offcanvas"]').click(function () {
|
||||
var button = $(this);
|
||||
button.toggleClass('is-open')
|
||||
$(button.attr('data-target')).toggleClass('in');
|
||||
});
|
||||
});
|
||||
|
||||
}(jQuery, window, window.document));
|
||||
|
Loading…
Reference in New Issue