mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
unify child category counter display; remove include_children control
This commit is contained in:
11
js/tt-rss.js
11
js/tt-rss.js
@@ -41,10 +41,6 @@ function setActiveFeedId(id, is_cat) {
|
||||
}
|
||||
|
||||
selectFeed(id, is_cat);
|
||||
|
||||
dijit.byId("include_children").attr("disabled", !(is_cat && id > 0));
|
||||
|
||||
|
||||
} catch (e) {
|
||||
exception_error("setActiveFeedId", e);
|
||||
}
|
||||
@@ -355,13 +351,6 @@ function init_second_stage() {
|
||||
dijit.getEnclosingWidget(toolbar.order_by).attr('value',
|
||||
getInitParam("default_view_order_by"));
|
||||
|
||||
|
||||
if (getInitParam("enable_feed_cats") == 0)
|
||||
Element.hide(dijit.byId("include_children").domNode);
|
||||
|
||||
dijit.byId("include_children").attr("checked",
|
||||
getInitParam("default_include_children"));
|
||||
|
||||
feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
|
||||
|
||||
loading_set_progress(30);
|
||||
|
||||
Reference in New Issue
Block a user