linter and compact layout improvements

This commit is contained in:
narcolepticinsomniac 2019-07-19 07:38:26 -04:00 committed by GitHub
parent a5315ef068
commit bd631b8170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,7 +314,9 @@ function initCollapsibles({bindClickOn = 'h2'} = {}) {
}
function saveState(el) {
prefs.set(el.dataset.pref, el.open);
if (!el.classList.contains('ignore-pref')) {
prefs.set(el.dataset.pref, el.open);
}
}
}