summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend.php3
-rw-r--r--viewfeed.js5
2 files changed, 7 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 3bae2a869..f571f8ba0 100644
--- a/backend.php
+++ b/backend.php
@@ -719,7 +719,8 @@
if ($line["feed_title"]) {
print "<td width='50%'>$content_link</td>";
- print "<td width='20%'>".$line["feed_title"]."</td>";
+ print "<td width='20%'>
+ <a href='javascript:viewfeed($feed_id)'>".$line["feed_title"]."</a></td>";
} else {
print "<td width='70%'>$content_link</td>";
}
diff --git a/viewfeed.js b/viewfeed.js
index 71ef9eff8..73ef4c973 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -170,6 +170,11 @@ function moveToPost(mode) {
}
}
+function viewfeed(id) {
+ var f = parent.frames["feeds-frame"];
+ f.viewfeed(id, 0);
+}
+
function localHotkeyHandler(keycode) {
if (keycode == 78) {