fixed id naming convention
This commit is contained in:
parent
e44c65cbce
commit
21f50f5ccd
11 changed files with 142 additions and 142 deletions
|
|
@ -1,5 +1,5 @@
|
|||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const checkTerms = document.querySelector('#cgv-check');
|
||||
const checkTerms = document.querySelector('#cgvCheck');
|
||||
const createAccountButton = document.querySelector('#btnCreateAccount');
|
||||
const readTerms = document.querySelector('#readTerms');
|
||||
console.log(checkTerms, createAccountButton);
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@ function initTooltips(section) {
|
|||
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl));
|
||||
}
|
||||
function checkTermsandConditions(){
|
||||
const checkTerms = document.querySelector('#cgv-check');
|
||||
const checkTerms = document.querySelector('#cgvCheck');
|
||||
const createAccountButton = document.querySelector('#btnCreateAccount');
|
||||
createAccountButton.disabled = !checkTerms.checked;
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const offmenu = document.getElementById("offSideMenu");
|
||||
const sidemenu = document.getElementById("secondary-nav");
|
||||
const sidemenu = document.getElementById("secondNav");
|
||||
|
||||
function toggleMenus(mediaQuery) {
|
||||
if (!mediaQuery.matches) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue