mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-02 02:38:53 -04:00
Improved reset of tabbing behavior
This commit is contained in:
@@ -310,7 +310,7 @@ function initialize(config) { // eslint-disable-line func-style
|
||||
}).listen()
|
||||
|
||||
/* Listener: reset tabbing behavior */
|
||||
new Material.Event.Listener(document.body, "click", () => {
|
||||
new Material.Event.Listener(document.body, "mousedown", () => {
|
||||
const labels = document.querySelectorAll(
|
||||
"[data-md-component=navigation] .md-nav__link[tabindex]")
|
||||
Array.prototype.forEach.call(labels, label => {
|
||||
|
||||
Reference in New Issue
Block a user