fix broken hotkeys

master
Andrew Dolgov 19 years ago
parent e0a7121ba9
commit 2e02b89603

@ -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') {

Loading…
Cancel
Save