summaryrefslogtreecommitdiff
path: root/docs/public/make-scrollable-code-focusable.js
blob: 6fbf1eebee5500b0e8cad4077f73bb3c0ccfa05a (plain) (blame)
1
2
3
Array.from(document.getElementsByTagName("pre")).forEach((element) => {
  element.setAttribute("tabindex", "0");
});