MicroFrameWork/resources/admin_theme/js/main.js

20 lines
348 B
JavaScript
Raw Permalink Normal View History

2024-08-29 16:18:49 +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);