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;
}
if (seq.match("807371717369")) {
seq = "";
localPiggieFunction(true);
} else {
localPiggieFunction(false);
if (document.getElementById("piggie")) {
if (seq.match("807371717369")) {
seq = "";
localPiggieFunction(true);
} else {
localPiggieFunction(false);
}
}
if (typeof localHotkeyHandler != 'undefined') {