]> git.wh0rd.org Git - tt-rss.git/commitdiff
enable collapsed feedlist for compat theme
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 20 Feb 2008 09:28:21 +0000 (10:28 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 20 Feb 2008 09:28:21 +0000 (10:28 +0100)
feedlist.js
tt-rss.js

index fe2a40b46726ec87f23d60dff5933db4f72ad8a2..88220ccf6a7fc8d78293045a5fcd0019d8afbcc3 100644 (file)
@@ -427,7 +427,8 @@ function init_collapsable_feedlist(theme) {
        try {
                debug("init_collapsable_feedlist");
 
-               if (theme != "" && theme != "compact" && theme != "graycube") return;
+               if (theme != "" && theme != "compact" && theme != "graycube" &&
+                               theme != "compat") return;
 
                var fbtn = document.getElementById("collapse_feeds_btn");
 
index 536f53482b04998002dfada651d4ff6536a8ef9d..106d071532ccd5c0ffd8e4aeeb40fd8a2f0a8e6f 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -766,7 +766,8 @@ function collapse_feedlist() {
                debug("toggle_feedlist");
                
                var theme = getInitParam("theme");
-               if (theme != "" && theme != "compact" && theme != "graycube") return;
+               if (theme != "" && theme != "compact" && theme != "graycube" &&
+                               theme != "compat") return;
 
                var fl = document.getElementById("feeds-holder");
                var fh = document.getElementById("headlines-frame");