mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
919910ce67
Reported by Thomas Gleixner in https://lore.kernel.org/lkml/87a68vtvhf.ffs@tglx/ PiperOrigin-RevId: 465692826
46 lines
1.2 KiB
HTML
46 lines
1.2 KiB
HTML
<footer class="footer">
|
|
{% include footer-links.html %}
|
|
</footer>
|
|
|
|
{% if site.analytics %}
|
|
<script>
|
|
var doNotTrack = false;
|
|
if (!doNotTrack) {
|
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
ga('create', '{{ site.analytics }}', 'auto');
|
|
ga('send', 'pageview');
|
|
}
|
|
</script>
|
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
|
{% endif %}
|
|
|
|
<script>
|
|
var shiftWindow = function() {
|
|
if (location.hash.length !== 0) {
|
|
window.scrollBy(0, -50);
|
|
}
|
|
};
|
|
window.addEventListener("hashchange", shiftWindow);
|
|
|
|
$(document).ready(function() {
|
|
// Scroll to anchor of location hash, adjusted for fixed navbar.
|
|
window.setTimeout(function() {
|
|
shiftWindow();
|
|
}, 1);
|
|
|
|
// Flip the caret when submenu toggles are clicked.
|
|
$(".sidebar-submenu").on("show.bs.collapse", function() {
|
|
var toggle = $('[href$="#' + $(this).attr('id') + '"]');
|
|
if (toggle) {
|
|
toggle.addClass("dropup");
|
|
}
|
|
});
|
|
$(".sidebar-submenu").on("hide.bs.collapse", function() {
|
|
var toggle = $('[href$="#' + $(this).attr('id') + '"]');
|
|
if (toggle) {
|
|
toggle.removeClass("dropup");
|
|
}
|
|
});
|
|
});
|
|
</script>
|