mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
docs: Fix indentation of inlined JavaScript snippet
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
ffb7954f88
commit
2f06f433ad
@ -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();
|
||||||
]]>
|
]]>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user