telegram_bots/static/js/examples/examples.header.menu.js
2019-01-11 22:16:02 +03:00

26 lines
439 B
JavaScript

/*
Name: Layouts / Header Menu - Examples
Written by: Okler Themes - (http://www.okler.net)
Theme Version: 2.1.1
*/
(function($) {
'use strict';
// Toggle Mega Sub Menu Expand Button
var megaSubMenuToggleButton = function() {
var $button = $('.mega-sub-nav-toggle');
$button.on('click', function(){
$(this).toggleClass('toggled');
});
};
$(function() {
megaSubMenuToggleButton();
});
}).apply(this, [jQuery]);