fix broken hotkeys
This commit is contained in:
parent
e0a7121ba9
commit
2e02b89603
1 changed files with 8 additions and 5 deletions
13
functions.js
13
functions.js
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue