Updated syntax

This commit is contained in:
Steve Schwartz
2012-01-26 16:21:39 -05:00
parent 7f803e07b6
commit 471f6125e7
+4 -3
View File
@@ -207,9 +207,10 @@
// Tab is not active and panel is not active => select tab
} else if( ! $clicked.hasClass(settings.tabActiveClass) || ! $targetPanel.hasClass(settings.panelActiveClass) ){
activateTab($clicked, $targetPanel, ajaxUrl, callback);
//Cache is disabled => reload (e.g reload an ajax tab).
} else if ( !settings.cache ){
activateTab($clicked, $targetPanel, ajaxUrl, callback);
// Cache is disabled => reload (e.g reload an ajax tab).
} else if ( ! settings.cache ){
activateTab($clicked, $targetPanel, ajaxUrl, callback);
}
};