From: Andrew Dolgov Date: Wed, 21 May 2008 07:50:58 +0000 (+0100) Subject: use real link to article in headlines list (for middle click) (2) X-Git-Tag: 1.2.24~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a7764e5105be71914c2eca1ee1ece68064f45705;p=tt-rss.git use real link to article in headlines list (for middle click) (2) --- diff --git a/functions.php b/functions.php index 7c74fec3..6f93e6a2 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 3336dda6..9e7f22ec 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); }