Added basic Formula Wizard, Added script to compile SASS and TS, many other random changes.
Update .gitignore, .htaccess, and 68 more files...
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
// Creating the galleries from Glider.js
|
||||
|
||||
window.addEventListener('load', function(){
|
||||
document.querySelectorAll(".glider").forEach(element => {
|
||||
new Glider(element, {
|
||||
console.debug("Creating glider...");
|
||||
console.debug(element);
|
||||
|
||||
let glider = new Glider(element, {
|
||||
slidesToShow: 1,
|
||||
draggable: true,
|
||||
scrollLock: true,
|
||||
@@ -27,6 +31,7 @@ window.addEventListener('load', function(){
|
||||
}
|
||||
]
|
||||
});
|
||||
console.debug(glider);
|
||||
|
||||
// Processing the images
|
||||
const eImages = [];
|
||||
|
@@ -69,13 +69,14 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
|
||||
//showContentModal(eContentModal);
|
||||
|
||||
[eContentModal, document.getElementById("modal-content-cross"), eContentModalInner].forEach(value => {
|
||||
value.onclick = function() {
|
||||
fadeOut(eContentModal, 175).then(r => {
|
||||
eContentModalInner.innerHTML = "";
|
||||
});
|
||||
}
|
||||
})
|
||||
// FIXME: Fix this shit !
|
||||
//[eContentModal, document.getElementById("modal-content-cross"), eContentModalInner].forEach(value => {
|
||||
// value.onclick = function() {
|
||||
// fadeOut(eContentModal, 175).then(r => {
|
||||
// eContentModalInner.innerHTML = "";
|
||||
// });
|
||||
// }
|
||||
//})
|
||||
|
||||
// TODO: Autodetect mobile screens, close it, and add classes to make it over the rest with dark modal bkgd.
|
||||
});
|
||||
|
Reference in New Issue
Block a user