Uncaught ReferenceError: tns is not defined
at HTMLDocument.<anonymous> (media-content:564:20)
(anonymous) @ media-content:564
Here is the relevant code:
<script>
document.addEventListener("DOMContentLoaded", () => {
var slider = tns({
container: "#j51news520",
items: 1,
slideBy: "page",
nav: false,
autoplay: true,
autoplayTimeout: 3000,
speed: 3000,
mouseDrag: true,
controlsContainer: "#j51news520-controls",
autoplayButton: "#j51news520-play",
mouseDrag: true,
responsive : {
0 : {
items: 1,
},
440 : {
items: 1,
},
767 : {
items: 2,
},
960 : {
items: 3,
},
1280 : {
items: 3
}
},
});
});
</script>
Here is the page I am looking at:
https://feminaphysiotherapy.com/media-content
What is the fix for this?