summaryrefslogtreecommitdiff
path: root/Documentation/sphinx/templates/kernel-toc.html
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-02-01 21:40:42 +0300
committerTakashi Iwai <tiwai@suse.de>2024-02-01 21:40:42 +0300
commitd4ea2bd1bb502c54380cc44a4130660494679bb8 (patch)
tree7d14962a86c24026ce2eee8f9e67db610db23fd8 /Documentation/sphinx/templates/kernel-toc.html
parenteaa1b01fe709d6a236a9cec74813e0400601fd23 (diff)
parente81fdba0208666b65bafeaba814874b4d6e5edde (diff)
downloadlinux-d4ea2bd1bb502c54380cc44a4130660494679bb8.tar.xz
Merge tag 'asoc-fix-v6.8-rc2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.8 This pull request adds Richard Fitzgerald's series with extensive fixes for the CS35L56, he said: These patches fix various things that were undocumented, unknown or uncertain when the original driver code was written. And also a few things that were just bugs.
Diffstat (limited to 'Documentation/sphinx/templates/kernel-toc.html')
-rw-r--r--Documentation/sphinx/templates/kernel-toc.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/sphinx/templates/kernel-toc.html b/Documentation/sphinx/templates/kernel-toc.html
index b58efa99df52..41f1efbe64bb 100644
--- a/Documentation/sphinx/templates/kernel-toc.html
+++ b/Documentation/sphinx/templates/kernel-toc.html
@@ -12,5 +12,7 @@
<script type="text/javascript"> <!--
var sbar = document.getElementsByClassName("sphinxsidebar")[0];
let currents = document.getElementsByClassName("current")
- sbar.scrollTop = currents[currents.length - 1].offsetTop;
+ if (currents.length) {
+ sbar.scrollTop = currents[currents.length - 1].offsetTop;
+ }
--> </script>