summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-28 19:20:12 +0400
committerAndrew Dolgov <[email protected]>2013-03-28 19:20:12 +0400
commit67b9d740ae14e13ea8d58ee452f9f3a3e8d46398 (patch)
tree555ba34edad9311397aa19d6bcdd89694be7d0f9 /js/tt-rss.js
parentbf6df2368da7e8b03f1bc0efdcdd69d26981cdab (diff)
setActiveFeedId: assign feed/is-cat attributes to headlines-frame
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js3
1 files changed, 3 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);