first commit
This commit is contained in:
commit
b71ea45681
898 changed files with 138202 additions and 0 deletions
1
static/assets/js/ui-modals.js
Normal file
1
static/assets/js/ui-modals.js
Normal file
|
@ -0,0 +1 @@
|
|||
"use strict";!function(){const e=document.querySelector("#animation-dropdown"),t=document.querySelector("#animationModal"),a=(e&&(e.onchange=function(){t.classList="",t.classList.add("modal","animate__animated",this.value)}),document.querySelector("#youTubeModal")),o=a.querySelector("iframe");a.addEventListener("hidden.bs.modal",function(){o.setAttribute("src","")});[].slice.call(document.querySelectorAll('[data-bs-toggle="modal"]')).map(function(e){e.onclick=function(){var e=this.getAttribute("data-bs-target"),t=this.getAttribute("data-theVideo")+"?autoplay=1",e=document.querySelector(e+" iframe");e&&e.setAttribute("src",t)}}),document.querySelectorAll(".carousel").forEach(t=>{t.addEventListener("slide.bs.carousel",e=>{e=$(e.relatedTarget).height();$(t).find(".active.carousel-item").parent().animate({height:e},500)})})}();
|
Loading…
Add table
Add a link
Reference in a new issue