I handcoded some content (single html file with css and js insterted inside) for 16 tabs created using FusionBuilder (theme: Avada) on my site. Code is inserted via [Code Block] element inside the builder. It works just fine outside the tabbed content when I just open single html file inside browser.
However, when put inside tabbed content the gallery works properly only on the first tab, whenever I switch to other tabs gallery seems not to work allright (it does not even open). I am not even sure this is caused by JS and not somehow theme-related, but I am no expert developer and I have no real idea about it, thus asking the question.
I tried changing class names for specific galleries but I did not arrive at a satisfactory solution. Please advise.