]> git.wh0rd.org Git - tt-rss.git/commitdiff
headlines: disable hotkeys for up/down in combined mode (closes #17)
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 25 Dec 2005 18:07:44 +0000 (19:07 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 25 Dec 2005 18:07:44 +0000 (19:07 +0100)
viewfeed.js

index 1d2c894ccb197dca2d25cfd96c560c5747410f11..c25718a59d521801a17dfcabaa2c45b6488fb1e9 100644 (file)
@@ -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;