JS or Cache Issue

O

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.
js1.png

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.
js2.png

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
 
BlackSpigot General Chat
Rules Help Users
    S @ Setly: what
    Top