website: Fix indentation

[Thomas: fix commit title.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Maxime Hadjinlian 2014-11-03 00:58:15 +01:00 committed by Thomas Petazzoni
parent 36c12e8203
commit 4438ccafcb
1 changed files with 41 additions and 39 deletions

View File

@ -44,9 +44,12 @@ function google_analytics() {
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
}
google.load("feeds", "1");
@ -59,4 +62,3 @@ jQuery(document).ready(function($){
url = url.split(/[\\/]/).pop()
$('.nav a[href="/' + url + '"]').parent().addClass('active');
});