MicroFrameWork/resources/custom/js/main.js
2024-12-23 14:14:59 +03:00

20 lines
398 B
JavaScript
Executable File

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