Update app.js
This commit is contained in:
parent
c93a5ba1cb
commit
1ee7f00586
@ -1423,7 +1423,7 @@ let bottomRowText = document.querySelector("#bottom-row-text");
|
|||||||
displayFormatBtn.addEventListener("click", () => {
|
displayFormatBtn.addEventListener("click", () => {
|
||||||
selectedDisplayText.innerText = displayFormatDropDown.value;
|
selectedDisplayText.innerText = displayFormatDropDown.value;
|
||||||
localStorage.setItem("displayFormat", displayFormatDropDown.value);
|
localStorage.setItem("displayFormat", displayFormatDropDown.value);
|
||||||
if (selectedDisplayText.innerText === "Professional two rows") {
|
if (selectedDisplayText.innerText === "Professional Two Rows") {
|
||||||
topRowText.style.display = "inline";
|
topRowText.style.display = "inline";
|
||||||
bottomRowText.style.display = "inline";
|
bottomRowText.style.display = "inline";
|
||||||
secondRow.style.display = "flex";
|
secondRow.style.display = "flex";
|
||||||
@ -1442,7 +1442,7 @@ displayFormatBtn.addEventListener("click", () => {
|
|||||||
|
|
||||||
// if selected display text = Professional two rows
|
// if selected display text = Professional two rows
|
||||||
|
|
||||||
if (selectedDisplayText.innerText === "Professional two rows") {
|
if (selectedDisplayText.innerText === "Professional Two Rows") {
|
||||||
topRowText.style.display = "inline";
|
topRowText.style.display = "inline";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1533,7 +1533,7 @@ window.onload = () => {
|
|||||||
|
|
||||||
// getInputAnimation && (inputAnimation.value = getInputAnimation);
|
// getInputAnimation && (inputAnimation.value = getInputAnimation);
|
||||||
|
|
||||||
if (selectedDisplayText.innerText === "Professional two rows") {
|
if (selectedDisplayText.innerText === "Professional Two Rows") {
|
||||||
topRowText.style.display = "inline";
|
topRowText.style.display = "inline";
|
||||||
bottomRowText.style.display = "inline";
|
bottomRowText.style.display = "inline";
|
||||||
secondRow.style.display = "flex";
|
secondRow.style.display = "flex";
|
||||||
|
Loading…
Reference in New Issue
Block a user