mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-23 11:46:37 +02:00
fix broken hotkeys
This commit is contained in:
parent
e0a7121ba9
commit
2e02b89603
13
functions.js
13
functions.js
|
@ -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…
Reference in New Issue
Block a user