messed up some naming of variables

This commit is contained in:
Justin 2023-07-20 00:00:51 +08:00 committed by GitHub
parent 8730b3b4ff
commit 883a26e41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -453,7 +453,7 @@ const addEventOnFeaturesList = () => {
let inputMsg = document.getElementById("inputText14"); let inputMsg = document.getElementById("inputText14");
let inputColor = document.getElementById("inputScrollSpeed16"); let inputColor = document.getElementById("inputScrollSpeed16");
let inputSize = document.getElementById("inputScrollSpeed17"); let inputSize = document.getElementById("inputScrollSpeed17");
let inputBg = document.getElementById("inputScrollSpeed19"); let inputBg = document.getElementById("inputScrollSpeed19BG");
let displayCheck = document.getElementById("flexCheckChecked29"); let displayCheck = document.getElementById("flexCheckChecked29");
if (value.messageName == availableFeature.innerText) { if (value.messageName == availableFeature.innerText) {
@ -902,7 +902,7 @@ allFeaturesTextAddBtn.map((value, index) => {
let colorInput = document.getElementById("inputScrollSpeed16").value; let colorInput = document.getElementById("inputScrollSpeed16").value;
let sizeInput = document.getElementById("inputScrollSpeed17").value; let sizeInput = document.getElementById("inputScrollSpeed17").value;
let backgroundInput = let backgroundInput =
document.getElementById("inputScrollSpeed19").value; document.getElementById("inputScrollSpeed19BG").value;
let displayCheck = let displayCheck =
document.getElementById("flexCheckChecked29").checked; document.getElementById("flexCheckChecked29").checked;
let messagesWrapper = document.getElementById("messages-features"); let messagesWrapper = document.getElementById("messages-features");
@ -2848,7 +2848,7 @@ function getCustomMsg(value) {
const the_thing = document.getElementById("inputText13"); const the_thing = document.getElementById("inputText13");
const the_msg = document.getElementById("inputText14"); const the_msg = document.getElementById("inputText14");
const t_color = document.getElementById("inputScrollSpeed16"); const t_color = document.getElementById("inputScrollSpeed16");
const b_color = document.getElementById("inputScrollSpeed19"); const b_color = document.getElementById("inputScrollSpeed19BG");
const t_size = document.getElementById("inputScrollSpeed17"); const t_size = document.getElementById("inputScrollSpeed17");
the_thing.value = messaged; the_thing.value = messaged;
@ -2879,7 +2879,7 @@ function updateSelectedMsg(){
if ((msg_name !== '') && (msg_text !== '')) { if ((msg_name !== '') && (msg_text !== '')) {
const text_color = document.getElementById("inputScrollSpeed16").value; const text_color = document.getElementById("inputScrollSpeed16").value;
const background_color = document.getElementById("inputScrollSpeed19").value; const background_color = document.getElementById("inputScrollSpeed19BG").value;
const text_size = document.getElementById("inputScrollSpeed17").value; const text_size = document.getElementById("inputScrollSpeed17").value;
document.getElementById('demo4').style.display = "none"; document.getElementById('demo4').style.display = "none";
document.getElementById('demo5').style.display = "none"; document.getElementById('demo5').style.display = "none";
@ -3268,7 +3268,7 @@ for (const pageID of pageIDs) {
// Add event listeners to select menus // Add event listeners to select menus
const excludedIds = ['base-select', 'quote-select', 'commodities-items', 'indices-items', 'inputTransition73', const excludedIds = ['base-select', 'quote-select', 'commodities-items', 'indices-items', 'inputTransition73',
'inputTransition83', 'inputTransition93', 'inputTransition103', 'inputTransition2222', 'jokes-categories', 'golf-ranking-number', 'inputTransition83', 'inputTransition93', 'inputTransition103', 'inputTransition2222', 'jokes-categories', 'golf-ranking-number',
'inputScrollSpeed16', 'inputScrollSpeed17', 'inputScrollSpeed19']; 'inputScrollSpeed16', 'inputScrollSpeed17', 'inputScrollSpeed19BG'];
const selectMenus = parentDiv.querySelectorAll('select'); const selectMenus = parentDiv.querySelectorAll('select');
selectMenus.forEach(selectMenu => { selectMenus.forEach(selectMenu => {