Getting indentation more homogeneous

This commit is contained in:
Loïc Chardonnet
2012-01-31 11:48:34 +00:00
parent b7ae333d07
commit 741b17aadb
7 changed files with 53 additions and 89 deletions

View File

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