Forum Discussion
SteveGannon
Community Member
Not sure if it's just a formatting issue here in the forum but it appears you have a tilde (~) before "modone" and the initial quotation mark before modone is backward.
RayDeRegis
7 months agoCommunity Member
Good eye Steve. I changed the opening quotation mark.
I'm unsure of what to do about tilde. I tried replacing it with nothing and
also tried a dash. Neither made a difference.
var zoneone = document.querySelectorAll(‘[data-acc-text~=“modone”]’);
zoneone[0].scrollIntoView({block: “end”, inline: “nearest”});
I'm thinking this script is fairly common... it has me scratching my head.