summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Frans de Jonge <fransdejonge@gmail.com> 2020-01-16 11:23:49 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2020-01-16 11:23:49 +0100
commite60abfee4d169036865456c13fa2c2945375a512 (patch)
tree940afb7d1401d551d680bb943287c23d0ffaf407
parent3c099c78537020eae3b6fe060fbe86088e996c83 (diff)
[fix] Correct default view for label (#2767)
While testing <https://github.com/FreshRSS/FreshRSS/pull/2766> I noticed that clicking the label activated the wrong dropdown.
-rw-r--r--app/views/configure/reading.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/configure/reading.phtml b/app/views/configure/reading.phtml
index 7c42b59f1..ad1f31451 100644
--- a/app/views/configure/reading.phtml
+++ b/app/views/configure/reading.phtml
@@ -37,7 +37,7 @@
</div>
<div class="form-group">
- <label class="group-name" for="view_mode"><?= _t('conf.reading.show') ?></label>
+ <label class="group-name" for="default_view"><?= _t('conf.reading.show') ?></label>
<div class="group-controls">
<select name="default_view" id="default_view" data-leave-validation="<?= FreshRSS_Context::$user_conf->default_view ?>">
<option value="adaptive"<?= FreshRSS_Context::$user_conf->default_view === 'adaptive' ? ' selected="selected"' : '' ?>><?= _t('conf.reading.show.adaptive') ?></option>