mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 18:15:58 +00:00
add experimental operation history stack
This commit is contained in:
16
functions.js
16
functions.js
@@ -226,14 +226,6 @@ function hotkey_handler(e) {
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof localHotkeyHandler != 'undefined') {
|
||||
try {
|
||||
localHotkeyHandler(keycode);
|
||||
} catch (e) {
|
||||
exception_error("hotkey_handler, local:", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (keycode == 68 && shift_key) { // d
|
||||
if (!debug_mode_enabled) {
|
||||
document.getElementById('debug_output').style.display = 'block';
|
||||
@@ -245,6 +237,14 @@ function hotkey_handler(e) {
|
||||
debug_mode_enabled = !debug_mode_enabled;
|
||||
}
|
||||
|
||||
if (typeof localHotkeyHandler != 'undefined') {
|
||||
try {
|
||||
return localHotkeyHandler(e);
|
||||
} catch (e) {
|
||||
exception_error("hotkey_handler, local:", e);
|
||||
}
|
||||
}
|
||||
|
||||
debug("KP=" + keycode);
|
||||
} catch (e) {
|
||||
exception_error("hotkey_handler", e);
|
||||
|
||||
Reference in New Issue
Block a user