modal for "continue with confidence"

This commit is contained in:
John Hess 2024-06-07 18:04:39 -05:00
parent 9062b4e1a2
commit 5476cf39e9
11 changed files with 77 additions and 166 deletions

View file

@ -29,9 +29,11 @@ $(document).ready(function(){
// Prevent default for modal trigger button
const btnModal = document.querySelector('.btn-modal');
btnModal.addEventListener('click', (event) => {
event.preventDefault();
});
if (btnModal) {
btnModal.addEventListener('click', (event) => {
event.preventDefault();
});
}
// If #usb-butter exists and a request to thishost.tld/usb-butter returns status 200
// change display of #usb-butter to inherit