igfs/resources/default/js/main.js

20 lines
398 B
JavaScript
Raw Normal View History

2024-09-04 14:35:29 +03:00
(function ($) {
2024-09-03 16:29:44 +03:00
2024-09-04 14:35:29 +03:00
"use strict";
2024-09-03 16:29:44 +03:00
2024-09-04 14:35:29 +03:00
var fullHeight = function () {
2024-09-03 16:29:44 +03:00
2024-09-04 14:35:29 +03:00
$('.js-fullheight').css('height', $(window).height());
$(window).resize(function () {
$('.js-fullheight').css('height', $(window).height());
});
2024-09-03 16:29:44 +03:00
2024-09-04 14:35:29 +03:00
};
fullHeight();
2024-09-03 16:29:44 +03:00
2024-09-04 14:35:29 +03:00
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
});
2024-09-03 16:29:44 +03:00
})(jQuery);