From 4e51dd2bc09dd7931b50c29f3aa17141bc6bdaa0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 25 Dec 2005 19:07:44 +0100 Subject: [PATCH] headlines: disable hotkeys for up/down in combined mode (closes #17) --- viewfeed.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/viewfeed.js b/viewfeed.js index 1d2c894c..c25718a5 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -139,6 +139,10 @@ function toggleMark(id) { function moveToPost(mode) { + // check for combined mode + if (!document.getElementById("headlinesList")) + return; + var rows = getVisibleHeadlineIds(); var prev_id; -- 2.39.5