Using jQuery UI tabs - and I've written a plugin that integrates with ui tabs.
I've got the plugin setup to initiate jQuery UI tabs if it .tabs()
hasn't been called, but this just does a simple class check:
if(!$globalTabs.hasClass("ui-tabs")){
$globalTabs.tabs();
}
But this is problematic, because often to avoid FOUC, developers add in the UI classes to the the tabs to get a better initial render before document.ready.
I could check for a different class, such as `ui-widget1, but wondering if there's another/better way?