mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-27 14:11:29 +00:00
make 'v' hotkey work in CDM mode
This commit is contained in:
16
viewfeed.js
16
viewfeed.js
@@ -921,3 +921,19 @@ function cache_invalidate(id) {
|
||||
function getActiveArticleId() {
|
||||
return active_post_id;
|
||||
}
|
||||
|
||||
function cdmMouseIn(elem) {
|
||||
try {
|
||||
if (elem.id && elem.id.match("RROW-")) {
|
||||
var id = elem.id.replace("RROW-", "");
|
||||
active_post_id = id;
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("cdmMouseIn", e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function cdmMouseOut(elem) {
|
||||
active_post_id = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user