summaryrefslogtreecommitdiff
path: root/sphinx/errors.py
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2022-03-07 13:31:18 -0500
committerSantos Gallegos <stsewd@protonmail.com>2022-03-07 13:31:18 -0500
commita7d6ae05edcca80a98b47a7c61c2a076b9b1c1d3 (patch)
treee613a6a56e2c05f75a24f84f5c8c181b2c6078df /sphinx/errors.py
parentee298ac47e10c6c3d38ac63de8bc9c6a45367839 (diff)
downloadsphinx-git-a7d6ae05edcca80a98b47a7c61c2a076b9b1c1d3.tar.gz
doctools: fix shortcuts
Previous code was using JQuery to add the listeners https://github.com/sphinx-doc/sphinx/blob/b3812f72a98b01bae4b1158761082edc46cfa87f/sphinx/themes/basic/static/doctools.js#L304 Looks like by convention returning false mean preventDefault, but now with pure js this needs to be called explicitly. And a couple of fixes with the selectors. - querySelectorAll is an array-like object, it doesn't have a first() method. - nextLink was being assigned the `href` attribute instead of the object itself.
Diffstat (limited to 'sphinx/errors.py')
0 files changed, 0 insertions, 0 deletions