Line 61: | Line 61: | ||
for (i = 0; i < tablinksA.length; i++) { | for (i = 0; i < tablinksA.length; i++) { | ||
tablinksA[i].className = tablinksA[i].className.replace(" active", ""); | tablinksA[i].className = tablinksA[i].className.replace(" active", ""); | ||
− | if (tablinksA[i] == | + | if (tablinksA[i] == tabName) {$("#" + tablinksA[i]).toggle();} |
else {$("#" + tablinksA[i]).hide();} | else {$("#" + tablinksA[i]).hide();} | ||
Revision as of 12:46, 30 October 2017