From d437c8cf5646748d060e13ed2c825b7f49a8e847 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 12 Aug 2006 15:57:13 +0100 Subject: fix broken piggie --- functions.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index 495bcd646..9e941ad3b 100644 --- a/functions.js +++ b/functions.js @@ -151,8 +151,6 @@ function notify(msg, no_hide, is_err) { function printLockingError() { notify("Please wait until operation finishes");} -var seq = ""; - function hotkey_handler(e) { try { @@ -172,11 +170,11 @@ function hotkey_handler(e) { } else { seq = seq + "" + keycode; } - + var m_ctx = getMainContext(); var f_ctx = getFeedsContext(); var h_ctx = getHeadlinesContext(); - + if (keycode == 82) { // r return m_ctx.scheduleFeedUpdate(true); } @@ -216,16 +214,6 @@ function hotkey_handler(e) { if (keycode == 80 || keycode == 38) { // p, up return h_ctx.moveToPost('prev'); - } - - if (document.getElementById("piggie")) { - - if (seq.match("807371717369")) { - seq = ""; - localPiggieFunction(true); - } else { - localPiggieFunction(false); - } } if (typeof localHotkeyHandler != 'undefined') { -- cgit v1.2.3