I'm struggling to get tabs to reflow. I'm loading content via ajax. I've tried the section on the docs that says to re-init foundation and call tab, reflow but I get the following error:
$(document).foundation();
$(document).foundation('tab', 'reflow');
Tried to initialize tabs on an element that already has a Foundation plugin. foundation.js:180:13
ReferenceError: We're sorry, 'tab' is not an available method for Tabs.
Any ideas how to get this to work?