Ozzy47
Guest
Member
So I have a addon that adds some JS to the message_macros template. This creates a slider of images that are loaded as thumbnails. It works as expected.

Now the issue I am facing is if you edit that post, no matter what you change in it, or changing nothing, once you save, the slider images are missing.

Once you do a page refresh, the slider works again. Here is the code I add to the message_macro template:
HTML:
Read more

Now the issue I am facing is if you edit that post, no matter what you change in it, or changing nothing, once you save, the slider images are missing.

Once you do a page refresh, the slider works again. Here is the code I add to the message_macro template:
HTML:
Code:
<xf:css src="lightslider.less" />
<xf:js...
Read more