From b61cf20ca28b73a968fa537ca51f6cfef97fe646 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 May 2008 03:13:50 +0100 Subject: [PATCH] CDM mode: remove obsolete 't' hotkey --- help/3.php | 6 +++--- tt-rss.js | 6 +++--- viewfeed.js | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/help/3.php b/help/3.php index 21331268..950bcd5e 100644 --- a/help/3.php +++ b/help/3.php @@ -16,13 +16,13 @@ sToggle starred shift-SToggle published uToggle unread - TEdit tags + tEdit tags - + diff --git a/tt-rss.js b/tt-rss.js index 3e691245..480da1a6 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -1026,14 +1026,14 @@ function hotkey_handler(e) { return; } - if (keycode == 84 && shift_key) { // t + if (keycode == 84) { // t var id = getActiveArticleId(); if (id) { editArticleTags(id, getActiveFeedId(), isCdmMode()); } } - if (keycode == 84) { // t +/* if (keycode == 84) { // t var id = getActiveArticleId(); if (id) { var cb = document.getElementById("RCHK-" + id); @@ -1043,7 +1043,7 @@ function hotkey_handler(e) { toggleSelectRowById(cb, "RROW-" + id); } } - } + } */ if (keycode == 79) { // o if (getActiveArticleId()) { diff --git a/viewfeed.js b/viewfeed.js index 2deb9a65..fb727512 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1588,6 +1588,7 @@ function cdmClicked(elem) { active_post_id = id; cdmSelectArticles("none"); + toggleUnread(id, 0, true); toggleSelected(id); } -- 2.39.5