mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37: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;
|
if (!$('#js-setting-table')) return;
|
||||||
|
|
||||||
const localCheckboxes = $$<HTMLInputElement>('[data-tab="local"] input[type="checkbox"]');
|
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"]'));
|
const styleSheet = assertNotNull($<HTMLLinkElement>('head link[rel="stylesheet"]'));
|
||||||
|
|
||||||
// Local settings
|
// Local settings
|
||||||
|
|
Loading…
Reference in a new issue