11-18-2022, 03:55 PM
(This post was last modified: 11-18-2022, 04:18 PM by Vitor Costa (APDCA IT).)
Hi
I brought the Light Emerald Extended version... Despite this I was using (configuring) the Emerald Light (free) since the future members of the forum are a bit anti-tech and I want to keep layout most simple possible...
I found my browsers giving an javascript error:
TypeError: $(".author_avatar img").error is not a function. (In '$(".author_avatar img").error(function () {
$(this).unbind("error").closest('.author_avatar').remove();
})', '$(".author_avatar img").error' is undefined)
this is present templates:
showthread
private_read
private_send
newthread
Seems that que actual JQuery libs versions don't support .error() method anymore... I was thinking on comment (or remove) this script, what could be broke if then? Or can we replace that with equivalent?
I installed the Light Emerald Extended version to compare and it runs same error...
thanks
I brought the Light Emerald Extended version... Despite this I was using (configuring) the Emerald Light (free) since the future members of the forum are a bit anti-tech and I want to keep layout most simple possible...
I found my browsers giving an javascript error:
TypeError: $(".author_avatar img").error is not a function. (In '$(".author_avatar img").error(function () {
$(this).unbind("error").closest('.author_avatar').remove();
})', '$(".author_avatar img").error' is undefined)
this is present templates:
showthread
private_read
private_send
newthread
Code:
<script type="text/javascript">
$(".author_avatar img").error(function () {
$(this).unbind("error").closest('.author_avatar').remove();
});
</script>
Seems that que actual JQuery libs versions don't support .error() method anymore... I was thinking on comment (or remove) this script, what could be broke if then? Or can we replace that with equivalent?
I installed the Light Emerald Extended version to compare and it runs same error...
thanks