initialize() functionality restored to dashboard.js, after a missing id-selector was found missing
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
console.log("apps/scripts/dashboard.js loading");
|
||||
const initialize = () => {
|
||||
function initialize() {
|
||||
console.log("initialize called!");
|
||||
const textInput = document.querySelector("id_text");
|
||||
const textInput = document.querySelector("#id_text");
|
||||
textInput.oninput = () => {
|
||||
console.log("oninput triggered");
|
||||
const errorMsg = document.querySelector(".invalid-feedback");
|
||||
errorMsg.style.display = "none";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user