collapsible widget remember their collapsed state

This commit is contained in:
zadam
2020-03-01 20:49:11 +01:00
parent 4e0e2e8926
commit 26599f057c
3 changed files with 20 additions and 8 deletions

View File

@@ -107,7 +107,9 @@ async function getUserThemes() {
}
function isAllowed(name) {
return ALLOWED_OPTIONS.has(name) || name.startsWith("keyboardShortcuts");
return ALLOWED_OPTIONS.has(name)
|| name.startsWith("keyboardShortcuts")
|| name.endsWith("Collapsed");
}
module.exports = {