my website is comprised of tabs that open and close when u click on them
works pretty good, but when u click on a new tab and a different one is open, its supposed to close the current tab and open the one u clicked on. it does not.
the error is denoted in the code with 2 comments:
//error function call
//error in function
ty in advance for ur help