1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-19 20:01:30 +00:00

fix broken hotkeys

This commit is contained in:
Andrew Dolgov
2006-02-25 08:47:06 +01:00
parent e0a7121ba9
commit 2e02b89603

View File

@@ -129,11 +129,14 @@ function hotkey_handler(e) {
seq = seq + "" + keycode; seq = seq + "" + keycode;
} }
if (seq.match("807371717369")) { if (document.getElementById("piggie")) {
seq = "";
localPiggieFunction(true); if (seq.match("807371717369")) {
} else { seq = "";
localPiggieFunction(false); localPiggieFunction(true);
} else {
localPiggieFunction(false);
}
} }
if (typeof localHotkeyHandler != 'undefined') { if (typeof localHotkeyHandler != 'undefined') {