(e)
| 2 | // core functionality should not be affected. |
| 3 | |
| 4 | function navigateDocsNext(e) { |
| 5 | if (e.key == 'ArrowLeft') { |
| 6 | var previous = document.querySelector("[data-docs-nav-previous]"); |
| 7 | if (previous) { |
| 8 | previous.click(); |
| 9 | } |
| 10 | |
| 11 | } else if (e.key == 'ArrowRight') { |
| 12 | var next = document.querySelector("[data-docs-nav-next]"); |
| 13 | if (next) { |
| 14 | next.click(); |
| 15 | } |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | window.addEventListener('load', function () { |
| 20 | window.addEventListener('keydown', navigateDocsNext); |
nothing calls this directly
no outgoing calls
no test coverage detected