mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Wraps the entry title in a span element so that we can have a single
querySelector to get the textContent of the title of a top-level toc
item of a page:
document.querySelector("#sectiontree li:has([aria-current]) :is(a, button) span")
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>