Getting This Jquery Issue

Posted in: Newspaper
Post count: 53

undefined is not an object (evaluating ‘jQuery(this).attr(“src”).replace’)
Caused by tagdiv_theme.min.js?ver=7.1.1

Pointing to this code
function td_retina() {
1 < window.devicePixelRatio && (jQuery(“.td-retina”).each(function(a) {
a = jQuery(this).attr(“src”).replace(“.png”, “@2x.png”);
a = a.replace(“.jpg”, “@2x.jpg”);
jQuery(this).attr(“src”, a)
}), jQuery(“.td-retina-data”).each(function(a) {
jQuery(this).attr(“src”, jQuery(this).data(“retina”));
jQuery(this).addClass(“td-retina-version”)
}))
}

Post count: 22421

Hi,
Please provide an example of where you are getting the error and in what situation. Please provide as many details as possible so we can identify the source of the problem.
Thank you!

Post count: 53

Sorry this was an issue caused a plugin i have deactivated it and now everything ok
Thanks for your support

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.