1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 00:55:55 +00:00

further javascript cleanups

This commit is contained in:
Andrew Dolgov
2005-09-05 13:41:59 +01:00
parent 7276362076
commit bb7cfaceb1
6 changed files with 64 additions and 127 deletions

View File

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