From: Andrew Dolgov Date: Sun, 25 Dec 2005 18:07:44 +0000 (+0100) Subject: headlines: disable hotkeys for up/down in combined mode (closes #17) X-Git-Tag: 1.1.1~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4e51dd2bc09dd7931b50c29f3aa17141bc6bdaa0;p=tt-rss.git headlines: disable hotkeys for up/down in combined mode (closes #17) --- 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;