From 97dcd654bb1961e43914e0502ae38d6504204e62 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 24 Feb 2006 11:15:30 +0100 Subject: Opera compatibility fixes --- tt-rss.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index 0fbced1b9..7b96bf385 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -301,14 +301,6 @@ function localPiggieFunction(enable) { function localHotkeyHandler(keycode) { -/* if (keycode == 78) { - return moveToPost('next'); - } - - if (keycode == 80) { - return moveToPost('prev'); - } */ - if (keycode == 82) { // r return scheduleFeedUpdate(true); } @@ -383,6 +375,11 @@ function init() { try { + // this whole shebang is based on http://www.birnamdesigns.com/misc/busted2.html + + if (arguments.callee.done) return; + arguments.callee.done = true; + disableContainerChildren("headlinesToolbar", true); if (!genericSanityCheck()) -- cgit v1.2.3