StocksNew/public/assets/js/pages/modal.init.js

1 line
367 B
JavaScript
Raw Permalink Normal View History

2024-08-27 12:03:06 +00:00
var varyingcontentModal=document.getElementById("varyingcontentModal");varyingcontentModal&&varyingcontentModal.addEventListener("show.bs.modal",function(t){var t=t.relatedTarget.getAttribute("data-bs-whatever"),e=varyingcontentModal.querySelector(".modal-title"),n=varyingcontentModal.querySelector(".modal-body input");e.textContent="New message to "+t,n.value=t});