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:
parent
36c12e8203
commit
4438ccafcb
|
@ -44,9 +44,12 @@ function google_analytics() {
|
||||||
_gaq.push(['_setAllowLinker', true]);
|
_gaq.push(['_setAllowLinker', true]);
|
||||||
_gaq.push(['_trackPageview']);
|
_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';
|
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");
|
google.load("feeds", "1");
|
||||||
|
@ -59,4 +62,3 @@ jQuery(document).ready(function($){
|
||||||
url = url.split(/[\\/]/).pop()
|
url = url.split(/[\\/]/).pop()
|
||||||
$('.nav a[href="/' + url + '"]').parent().addClass('active');
|
$('.nav a[href="/' + url + '"]').parent().addClass('active');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue