onClick() not working in Safari on mobile

Hi there,

I’m struggling with an issue on Safari for mobile. The code I have works everywhere except for that browser. I have a repeater with text within, which I am calling onClick() on to open a file from my database in a new tab . In mobile safari when tested, it doesn’t even register the clicks on the text items within the repeater. Is this a known issue with mobile Safari and is there a way around it so that my site will work in all browsers?

$w . onReady ( function () {

$w ( “#text87” ). onClick ( ( event , $w ) => {
let item = $w ( “#dataset3” ). getCurrentItem ();
let url = item [ ‘titleFile’ ];
wixLocation . to ( url );
});

});