modal for "continue with confidence"
This commit is contained in:
parent
9062b4e1a2
commit
5476cf39e9
11 changed files with 77 additions and 166 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue