JS for Collapsible Categories always loaded

#1
No biggie, but if you have Collapsible Categories for the forum list enabled, then the JS code is injected on every page (for example when viewing a thread). That seems unnecessary as it is only there to collapse categories in the forum list.

Cheers
 

Steve

Pixel Exit Staff
#2
Strange this wasn't noticed before by anyone. Thanks for reporting and this will be fixed for the next update in XenBase.

If you want to fix it now

In XenBase go to xb_js_head

Find
HTML:
<xen:if is="@xb_cat_collapse">
Replace it with
Code:
<xen:if is="@xb_cat_collapse AND {$contentTemplate} == 'forum_list'">
 
#3
Thanks for the fix. I am not running XF just yet and currently preparing for the switch. Right now I am trying to understand all the ins and outs of your framework. ;)
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.