summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php2
-rw-r--r--viewfeed.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 7c74fec35..6f93e6a24 100644
--- a/functions.php
+++ b/functions.php
@@ -4986,7 +4986,7 @@
print "<a id=\"RTITLE-$id\"
href=\"" . htmlspecialchars($line["link"]) . "\"
- onclick=\"view($id,$feed_id);\">" .
+ onclick=\"return view($id,$feed_id);\">" .
$line["title"];
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
diff --git a/viewfeed.js b/viewfeed.js
index 3336dda68..9e7f22ec8 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -463,6 +463,8 @@ function view(id, feed_id, skip_history) {
article_callback2(transport, id, feed_id);
} });
+ return false;
+
} catch (e) {
exception_error("view", e);
}