Mobile file link display

I'm using the following JS to display my file links as "View File" which works great.... except on mobile.

$(document).on('knack-view-render.any', function(event, view, data) {$("a.kn-view-asset").html("View File");});

Any ideas on how to make this work??

Thanks!

Marc