Switched to 2-space indentation.

This commit is contained in:
Guillermo Rauch 2012-03-01 19:32:51 -03:00
parent 17f0141da9
commit 6da48f64c3

View File

@ -9,13 +9,11 @@
*/ */
$('body').on('click', 'ul.tabs > li > a', function(e) { $('body').on('click', 'ul.tabs > li > a', function(e) {
//Get Location of tab's content //Get Location of tab's content
var contentLocation = $(this).attr('href'); var contentLocation = $(this).attr('href');
//Let go if not a hashed one //Let go if not a hashed one
if(contentLocation.charAt(0)=="#") { if(contentLocation.charAt(0)=="#") {
e.preventDefault(); e.preventDefault();
//Make Tab Active //Make Tab Active
@ -24,6 +22,5 @@ $('body').on('click', 'ul.tabs > li > a', function(e) {
//Show Tab Content & add active class //Show Tab Content & add active class
$(contentLocation).show().addClass('active').siblings().hide().removeClass('active'); $(contentLocation).show().addClass('active').siblings().hide().removeClass('active');
} }
}); });