diff options
author | Andrew Dolgov <[email protected]> | 2006-02-25 06:54:53 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-02-25 06:54:53 +0100 |
commit | 1cac3c31bcf6fcdc8ea4498450e2eda783b4063d (patch) | |
tree | 20f6b1f18d9aa92e6c7c52ac4b291c2dba40bab9 /functions.js | |
parent | 6c7abfae07315fd37840606cb2554f1129fa5c50 (diff) |
total pigcall (closes #42)
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/functions.js b/functions.js index 26db6bb5f..e71e748e9 100644 --- a/functions.js +++ b/functions.js @@ -129,15 +129,11 @@ function hotkey_handler(e) { seq = seq + "" + keycode; } - var piggie = document.getElementById("piggie"); - - if (piggie) { - - if (seq.match("807371717369")) { - localPiggieFunction(true); - } else { - localPiggieFunction(false); - } + if (seq.match("807371717369")) { + seq = ""; + localPiggieFunction(true); + } else { + localPiggieFunction(false); } if (typeof localHotkeyHandler != 'undefined') { |