Merge pull request #343 from koloml/fix-local-settings-not-saving

Fixed Local Settings not properly saving for unauthorized users
This commit is contained in:
liamwhite 2024-08-08 19:09:00 -04:00 committed by GitHub
commit e8dfd99f27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ export function setupSettings() {
if (!$('#js-setting-table')) return;
const localCheckboxes = $$<HTMLInputElement>('[data-tab="local"] input[type="checkbox"]');
const themeSelect = assertNotNull($<HTMLSelectElement>('#user_theme'));
const themeSelect = $<HTMLSelectElement>('#user_theme');
const styleSheet = assertNotNull($<HTMLLinkElement>('head link[rel="stylesheet"]'));
// Local settings