backend/resources/custom/js/main.js

20 lines
398 B
JavaScript
Raw Normal View History

2024-09-11 17:38:46 +03:00
(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);