docs: Fix indentation of inlined JavaScript snippet

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Andrea Bolognani 2018-02-19 17:32:20 +01:00
parent ffb7954f88
commit 2f06f433ad

View File

@ -103,7 +103,7 @@
<xsl:comment> <xsl:comment>
<![CDATA[ <![CDATA[
function init() { function init() {
window.addEventListener('scroll', function(e){ window.addEventListener('scroll', function(e){
var distanceY = window.pageYOffset || document.documentElement.scrollTop, var distanceY = window.pageYOffset || document.documentElement.scrollTop,
shrinkOn = 94 shrinkOn = 94
home = document.getElementById("home"); home = document.getElementById("home");
@ -125,7 +125,7 @@
search.className = "" search.className = ""
} }
} }
}); });
} }
window.onload = init(); window.onload = init();
]]> ]]>