linter and compact layout improvements
This commit is contained in:
parent
a5315ef068
commit
bd631b8170
|
@ -314,9 +314,11 @@ function initCollapsibles({bindClickOn = 'h2'} = {}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function saveState(el) {
|
function saveState(el) {
|
||||||
|
if (!el.classList.contains('ignore-pref')) {
|
||||||
prefs.set(el.dataset.pref, el.open);
|
prefs.set(el.dataset.pref, el.open);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Makes the focus outline appear on keyboard tabbing, but not on mouse clicks.
|
// Makes the focus outline appear on keyboard tabbing, but not on mouse clicks.
|
||||||
function focusAccessibility() {
|
function focusAccessibility() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user