summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-01-13 13:59:36 +0300
committerAndrew Dolgov <[email protected]>2022-01-13 13:59:36 +0300
commit304845f3807cc1021de1f29a35e2e3c370ff9882 (patch)
tree12206fcb33d26907254ee6adfe2bb20a553bbbca /index.php
parent8cf9c451dc1d5f3ed23ead40bee41592f7c07254 (diff)
parentf1607902e6953aa5c486157835105c0c8f08779f (diff)
Merge branch 'master' of git.fakecake.org:fox/tt-rss
Diffstat (limited to 'index.php')
-rw-r--r--index.php21
1 files changed, 7 insertions, 14 deletions
diff --git a/index.php b/index.php
index 538346549..2dbc078cd 100644
--- a/index.php
+++ b/index.php
@@ -215,20 +215,13 @@
?>
</select>
- <div class="catchup-button" dojoType="fox.form.ComboButton" onclick="Feeds.catchupCurrent()">
- <span><?= __('Mark as read') ?></span>
- <div dojoType="dijit.DropDownMenu">
- <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrent('1day')">
- <?= __('Older than one day') ?>
- </div>
- <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrent('1week')">
- <?= __('Older than one week') ?>
- </div>
- <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrent('2week')">
- <?= __('Older than two weeks') ?>
- </div>
- </div>
- </div>
+ <select class="catchup-button" id="main-catchup-dropdown" dojoType="fox.form.Select"
+ data-prevent-value-change="true">
+ <option value=""><?= __('Mark as read') ?></option>
+ <option value="1day"><?= __('Older than one day') ?></option>
+ <option value="1week"><?= __('Older than one week') ?></option>
+ <option value="2week"><?= __('Older than two weeks') ?></option>
+ </select>
</form>