summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-21 08:50:58 +0100
committerAndrew Dolgov <[email protected]>2008-05-21 08:50:58 +0100
commita7764e5105be71914c2eca1ee1ece68064f45705 (patch)
tree373a0cec269efc8b64a2bc2a0733ddd5795f7060
parentf0971fc1d07736bd2d41ec6349432b89fe4e22a4 (diff)
use real link to article in headlines list (for middle click) (2)
-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);
}