From: Andrew Dolgov Date: Sun, 21 Nov 2010 18:47:38 +0000 (+0300) Subject: mention wiki in keyboard shortcuts help X-Git-Tag: 1.5.0~78 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d4dcf8e9228010718ff2a2f91f9a2dc82d42b218;p=tt-rss.git mention wiki in keyboard shortcuts help --- diff --git a/backend.php b/backend.php index 8110d437..c57f5770 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 ce2097f9..c45da863 100644 --- a/help/3.php +++ b/help/3.php @@ -67,4 +67,6 @@ +

+

diff --git a/tt-rss.css b/tt-rss.css index d6d06a63..e97ab963 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 243f3d28..fc6fb907 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 {