summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js13
1 files changed, 5 insertions, 8 deletions
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())