summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tt-rss.js3
-rw-r--r--tt-rss.css1
2 files changed, 4 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 6fdb8ff55..ae5815b68 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -36,6 +36,9 @@ function setActiveFeedId(id, is_cat) {
_active_feed_id = id;
_active_feed_is_cat = is_cat;
+ $("headlines-frame").setAttribute("feed-id", id);
+ $("headlines-frame").setAttribute("is-cat", is_cat ? 1 : 0);
+
selectFeed(id, is_cat);
} catch (e) {
exception_error("setActiveFeedId", e);
diff --git a/tt-rss.css b/tt-rss.css
index 5a260bd50..68b866b4d 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -1035,3 +1035,4 @@ body#ttrssZoom div.footer {
select.attachments {
display : block;
}
+