summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 17:21:26 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 17:21:26 +0300
commitd86ddbc635376231ba2e0a70c04f526cb9fedd58 (patch)
tree6bc975b9c984fe815962e5d1afcde5fba1c816c8 /index.php
parent049a37aa0e7d37cafd979e7d470c7649700b5010 (diff)
further objectification of JS code
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index 48bd559f8..820db9073 100644
--- a/index.php
+++ b/index.php
@@ -207,16 +207,16 @@
<option value="title"><?php echo __('Title') ?></option>
</select>
- <div dojoType="dijit.form.ComboButton" onclick="catchupCurrentFeed()">
+ <div dojoType="dijit.form.ComboButton" onclick="Feeds.catchupCurrentFeed()">
<span><?php echo __('Mark as read') ?></span>
<div dojoType="dijit.DropDownMenu">
- <div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('1day')">
+ <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrentFeed('1day')">
<?php echo __('Older than one day') ?>
</div>
- <div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('1week')">
+ <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrentFeed('1week')">
<?php echo __('Older than one week') ?>
</div>
- <div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('2week')">
+ <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrentFeed('2week')">
<?php echo __('Older than two weeks') ?>
</div>
</div>