Collapse-o-matic disabled on ajax result pages
-
Hello there!
I integrated collapse-o-matic in to my tribe events month overview. But I have 2 problems here:1. The posts on my month-view page are open on pageload and collapsed after the page finished loading (maybe you have a solution here)
2. The search results and next page results are loaded via Ajax (I guess?). The content on those pages is not collapsed. Only after page reload those boxes do collapse. I added a script to my page-head, and I tried to disable ajax for search result pages, but I had no success with that.
jQuery(document).on("sf:ajaxfinish", ".searchandfilter", function(){ collapse_init(); });
If you could help me here I would appreciate that very much.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Collapse-o-matic disabled on ajax result pages’ is closed to new replies.