Просмотр исходного кода

[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.
Frans de Jonge 6 лет назад
Родитель
Сommit
e60abfee4d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/views/configure/reading.phtml

+ 1 - 1
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>