You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
637 B
18 lines
637 B
3 years ago
|
$(document).ready(function() {
|
||
|
|
||
|
// Trigger the mobile navigation
|
||
|
$(document).on('click', '.navigation-toggle', function (event) {
|
||
|
event.preventDefault();
|
||
|
$(this).toggleClass('clicked');
|
||
|
$('#top').toggleClass('open');
|
||
|
});
|
||
|
|
||
|
// Add a class to all <li>'s with children
|
||
|
$('#main-nav ul li > ul').parent().addClass('hasChildren');
|
||
|
$('#main-nav .has-submenu').removeClass('has-submenu');
|
||
|
$('#main-nav .sm').removeClass('sm');
|
||
|
$('#main-nav .sm-dox').removeClass('sm-dox');
|
||
|
$('#main-nav #main-menu').removeAttr('data-smartmenus-id');
|
||
|
$('#main-nav #main-menu').removeAttr('id');
|
||
|
});
|