1
0
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:
Andrew Dolgov
2006-12-04 09:26:09 +01:00
parent d4b4b9dece
commit 1dc8dba07c
4 changed files with 101 additions and 10 deletions

View File

@@ -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);