Remove the author-mode setting (stray 'null' text in settings); author.html is reached by its URL

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-17 15:26:05 +02:00
parent d5e2358a17
commit a60d9265e8
9 changed files with 2 additions and 24 deletions
-2
View File
@@ -47,10 +47,8 @@ export class SettingsPanel extends EventTarget {
this.#testButton('settings.testVoice', 'voice'),
this.#voicesRoot,
this.#field('settings.voiceRate', 'range', { value: settings.voiceRate, min: 0.5, max: 2, step: 0.1, key: 'voiceRate', number: true }),
this.#field('settings.author', 'checkbox', { value: settings.authorMode, key: 'authorMode' }),
this.#backupSection(),
this.#syncRoot,
settings.authorMode ? el('a', { class: 'btn author-link', href: 'author.html', text: t('settings.authorOpen') }) : null,
);
this.#renderSync();
this.#renderVoices();