aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorGustavo Sousa <[email protected]>2024-01-23 16:21:58 +0000
committerJonathan Corbet <[email protected]>2024-01-23 21:33:13 +0000
commitd2d0223441d3caad65f6978c07869321bce968e0 (patch)
treedfb30130bc9a4b26cc3bef30a45a4cdb406651d8 /drivers/fpga/tests/fpga-mgr-test.c
parentLinux 6.8-rc1 (diff)
downloadkernel-d2d0223441d3caad65f6978c07869321bce968e0.tar.gz
kernel-d2d0223441d3caad65f6978c07869321bce968e0.zip
docs/sphinx: Fix TOC scroll hack for the home page
When on the documentation home page, there won't be any ".current" element since no entry from the TOC was selected yet. That results in a javascript error. Fix that by only trying to set the scrollTop if we have matches for current entries. Signed-off-by: Gustavo Sousa <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions