From d4dcf8e9228010718ff2a2f91f9a2dc82d42b218 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Nov 2010 21:47:38 +0300 Subject: mention wiki in keyboard shortcuts help --- backend.php | 1 + help/3.php | 2 ++ tt-rss.css | 8 ++++++++ viewfeed.js | 5 +++-- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/backend.php b/backend.php index 8110d4370..c57f57709 100644 --- a/backend.php +++ b/backend.php @@ -209,6 +209,7 @@ if (db_num_rows($result) == 1) { $article_url = db_fetch_result($result, 0, 'link'); + $article_url = str_replace("\n", "", $article_url); header("Location: $article_url"); return; diff --git a/help/3.php b/help/3.php index ce2097f92..c45da8634 100644 --- a/help/3.php +++ b/help/3.php @@ -67,4 +67,6 @@ +

+

diff --git a/tt-rss.css b/tt-rss.css index d6d06a63d..e97ab9636 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1160,6 +1160,14 @@ div#hotkey_help_overlay ul { margin : 0px; } +div#hotkey_help_overlay a { + color : #88b0f0; +} + +div#hotkey_help_overlay a:hover { + color : white; +} + div#hotkey_help_overlay li { margin : 0px; } diff --git a/viewfeed.js b/viewfeed.js index 243f3d289..fc6fb9075 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -2090,8 +2090,9 @@ function postOpenInNewTab(event, id) { function hlClicked(event, id) { try { - - if (!event.ctrlKey) { + if (event.altKey) { + openArticleInNewWindow(id); + } else if (!event.ctrlKey) { view(id); return true; } else { -- cgit v1.2.3