new indices

This commit is contained in:
Justin 2023-01-09 18:34:29 +08:00 committed by GitHub
parent 66bdff3cce
commit 871a150ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2294,14 +2294,14 @@ var specialChars = /[`!@#$%&*()_+\-=\[\]{};':"\\|<>\/?~]/;
// createLi = false; // createLi = false;
} }
else if (!["^DJI","^GSPC","^NDX","^RUT","^VIX","^GSPTSE","^MXX","^BVSP","^GDAXI","^FTSE","^IBEX","^FCHI","^SSMI","^BFX","^ATX","^AEX","^OMX", else if (!["^DJI","^GSPC","^NDX","^RUT","^VIX","^GSPTSE","^MXX","^BVSP","^GDAXI","^FTSE","^IBEX","^FCHI","^SSMI","^BFX","^ATX","^AEX","^OMX","^IXIC","FTSEMIB.MI",
"^OMXH25","PSI20.LS","^STOXX","^STOXX50E","^N100","^KS11","^NZ50","^AXJO","^STI","000001.SS","399001.SZ","^N225","^NSEI","^BSESN","^HSI","^TWII","^JKSE","PSEI.PS","^SET.BK","XU100.IS"].includes(x)) { "^OMXH25","PSI20.LS","^STOXX","^STOXX50E","^N100","^KS11","^NZ50","^AXJO","^STI","000001.SS","399001.SZ","^N225","^NSEI","^BSESN","^HSI","^TWII","^JKSE","PSEI.PS","^SET.BK","XU100.IS"].includes(x)) {
document.getElementById('demo9').style.display = "block"; document.getElementById('demo9').style.display = "block";
document.getElementById("inputText21").value = ''; document.getElementById("inputText21").value = '';
text = "Invalid index symbol" text = "Invalid index symbol"
} }
else { else {
text = "Input OK"; text = "Input OK";
document.getElementById('demo9').style.display = "none"; document.getElementById('demo9').style.display = "none";