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
|
|
|
|
2024-10-17 14:55:00 +03:00
|
|
|
})(jQuery);
|
|
|
|
|
|
|
|
window.addEventListener("load", function () {
|
|
|
|
let closeBtn = document.querySelectorAll(".closeAlertBtn");
|
|
|
|
closeBtn.forEach((item) => {
|
|
|
|
item.addEventListener("click", closeAlert);
|
2024-10-11 17:02:35 +03:00
|
|
|
});
|
2024-10-17 14:55:00 +03:00
|
|
|
});
|
2024-10-11 17:02:35 +03:00
|
|
|
|
2024-10-17 14:55:00 +03:00
|
|
|
function closeAlert() {
|
|
|
|
this.parentNode.setAttribute("style", "display: none;")
|
|
|
|
}
|