active menu

This commit is contained in:
2024-09-04 14:35:29 +03:00
parent 1f34860cfd
commit 68bf73e764
4 changed files with 37 additions and 15 deletions

View File

@ -1,19 +1,19 @@
(function($) {
(function ($) {
"use strict";
"use strict";
var fullHeight = function() {
var fullHeight = function () {
$('.js-fullheight').css('height', $(window).height());
$(window).resize(function(){
$('.js-fullheight').css('height', $(window).height());
});
$('.js-fullheight').css('height', $(window).height());
$(window).resize(function () {
$('.js-fullheight').css('height', $(window).height());
});
};
fullHeight();
};
fullHeight();
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
});
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
});
})(jQuery);