Good afternoon Personal, a week or so a customer came complaining that his site link was not working and I could not understand why, because the site was delivered working, it was a link that simply rolled the page . This week I noticed that the same type of link stopped working on other sites of mine, and it's a scroll function that I use for a long time, and it's presenting an error that I still can not decipher, can someone give me a help ?
I'm putting in the images below the link code that calls the function by onclick, the error and also the js function I'm using.