cloneNode duplicating all nodes

cloneNode duplicating all nodes
0.0 0

#1

I am trying to cloneNode Twitch channels depending on there status (Streaming Live/Off-line) into different TABS of my HTML. The issue is that, my code is duplicating all the channels into all the tabs whatever the status is. Below is my project on codepen:

Thanks in advance for your help friends


#2

Maybe you already fixed it - when i opened your codepen the tabs were sorted as you want them to.


#3

Hi @borisyordanov,

Yes I fixed it two hours ago. Couldn’t sleep last night thinking about it. When I woke up, I fixed it right away :slight_smile:

Thanks a lot for looking at it anyway!!!