From a7764e5105be71914c2eca1ee1ece68064f45705 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 May 2008 08:50:58 +0100 Subject: use real link to article in headlines list (for middle click) (2) --- functions.php | 2 +- viewfeed.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 7c74fec35..6f93e6a24 100644 --- a/functions.php +++ b/functions.php @@ -4986,7 +4986,7 @@ print "" . + 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); } -- cgit v1.2.3