Update app.js

This commit is contained in:
Justin 2023-08-29 19:43:47 +08:00 committed by GitHub
parent 3bbdbbe0a8
commit 69949aa935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3497,7 +3497,7 @@ for (const pageID of pageIDs) {
} }
}); });
// Add event listeners for input text fields specifically for page22 (r/place) // Add event listeners for input text fields specifically for page22 (r/place)
if (pageID === 'Page22') { if ((pageID === 'Page22') || (pageID === 'Page23')) {
const inputForms = parentDiv.querySelectorAll('input[type="text"]'); const inputForms = parentDiv.querySelectorAll('input[type="text"]');
inputForms.forEach(inputForm => { inputForms.forEach(inputForm => {
inputForm.addEventListener('input', function(event) { inputForm.addEventListener('input', function(event) {