// Copyright 2024 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. initTogglers(); // Initializes the file tree onClick collapse logic. function initTogglers(){ $(".caret").on("click", function() { $(this).toggleClass("caret-down"); $(this).closest("li").find(".nested").first().toggleClass("active"); }); } // This handler is called when user clicks on the coverage percentage. // It downloads the kernel file coverage html block and adjust page to show it. // "#file-content-prev" and "#file-content-curr" are the file content