"tabs" js Class and data-history


XF provides a possibility to add tabs. (XenForo.Tabs.prototype)
For example:
[How To]Adding Tabs to your pages

Is it possible to always reload the tabs on click? The content of a tab should not be cached.
I found the attribute "data-history" but it has no effect on caching of content :(


Chris D

XenForo developer
Staff member
There isn't anything built in that would do that.

IIRC data-history is not actually implemented but if it was I think the intention was for it to push browser history each time a tab is clicked (so clicking back would take you to the last tab you clicked on, rather than the last page before the profile).