Initial Commit

This commit is contained in:
GiacomoHome
2021-09-17 12:41:45 +02:00
commit 9001e4656e
570 changed files with 31013 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
//
// modal.js
// Theme module
//
const modals = document.querySelectorAll('.modal');
function overflowHide() {
document.documentElement.style.overflowX = 'visible';
}
function overflowShow() {
document.documentElement.style.overflowX = '';
}
modals.forEach((modal) => {
modal.addEventListener('show.bs.modal', overflowHide);
modal.addEventListener('hidden.bs.modal', overflowShow);
});