mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
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:
commit
e8dfd99f27
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue