mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 00:01:28 +00:00
CDM and infinite scrolling tweaks
This commit is contained in:
15
functions.js
15
functions.js
@@ -335,6 +335,21 @@ function hotkey_handler(e) {
|
||||
}
|
||||
}
|
||||
|
||||
if (keycode == 84) { // t
|
||||
|
||||
var id = getActiveArticleId();
|
||||
|
||||
if (id) {
|
||||
|
||||
var cb = document.getElementById("RCHK-" + id);
|
||||
|
||||
if (cb) {
|
||||
cb.checked = !cb.checked;
|
||||
toggleSelectRowById(cb, "RROW-" + id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof localHotkeyHandler != 'undefined') {
|
||||
try {
|
||||
return localHotkeyHandler(e);
|
||||
|
||||
Reference in New Issue
Block a user