diff options
author | Andrew Dolgov <[email protected]> | 2010-11-21 21:47:38 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-21 21:47:38 +0300 |
commit | d4dcf8e9228010718ff2a2f91f9a2dc82d42b218 (patch) | |
tree | faad55e182e8cd8beaf463b71d2e82ec7fd97368 | |
parent | d4f46bc1fdd3bbd76e7d01cc0c79baaacc69ce5b (diff) |
mention wiki in keyboard shortcuts help
-rw-r--r-- | backend.php | 1 | ||||
-rw-r--r-- | help/3.php | 2 | ||||
-rw-r--r-- | tt-rss.css | 8 | ||||
-rw-r--r-- | 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 @@ </td></tr></table> + <p><a target="_blank" href="http://tt-rss.org/wiki/InterfaceTips"><?php echo __("Other interface tips are available in the Tiny Tiny RSS wiki.") ?></a></p> + <p class="small"><?php echo __("Press any key to close this window.") ?></p> 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 { |