I’m having one of those days right now… I’m just looking to do something simple, but my brain is just constantly farting right now… Can anyone think of a way to compress this chunk of JS?
This is what I mean by one of those days, I originally did do it that way, couldn’t work out why it didn’t work, then I just said screw it and did it this way.
I kinda worked out why it didn’t work, because as I was assigning the listener function in a loop, it would then only work for the last one, and it would only update for the last one ‘list index[4][0]’.
Obviously tis me being dense. I’ve done far more advanced things in the past, like I said, it’s just one of those days, it’s not even something that needs to be done any time soon, I’m sure I’ll fix it at some point!