add getGlobalStockSymbol(this.innerText) to each li item for global stocks

This commit is contained in:
Justin 2023-09-26 14:40:21 +08:00 committed by GitHub
parent 82ef4697e5
commit 78b121accd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1131,7 +1131,11 @@ allFeaturesTextAddBtn.map((value, index) => {
} else if (index == 1) {
tag.innerHTML = allFeaturesText[index].value;
tag.setAttribute("onclick", "getCryptoSymbol(this.innerText)");
} else {
} else if (index == 26) {
tag.innerHTML = allFeaturesText[index].value;
tag.setAttribute("onclick", "getGlobalStockSymbol(this.innerText)");
}
else {
tag.innerHTML = allFeaturesText[index].value;
}
allFeatures[index].appendChild(tag);