summaryrefslogtreecommitdiff
path: root/offline.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-06 09:36:46 +0300
committerAndrew Dolgov <[email protected]>2009-02-06 09:36:46 +0300
commit1c980681442731d713fc01aad7e7ec56997ac797 (patch)
treeee4957869596cbfcaa2562859e4811b34f581861 /offline.js
parentab95d6a545f735bc2ba01761bb00394527e2db83 (diff)
offline: disable categories in feedlist when not enabled in tt-rss main
Diffstat (limited to 'offline.js')
-rw-r--r--offline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/offline.js b/offline.js
index 3bcf695db..5d92e08d4 100644
--- a/offline.js
+++ b/offline.js
@@ -412,7 +412,7 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
function render_offline_feedlist() {
try {
- var cats_enabled = 1;
+ var cats_enabled = getInitParam("enable_feed_cats") == "1";
var tmp = "<ul class=\"feedList\" id=\"feedList\">";