diff options
author | Andrew Dolgov <[email protected]> | 2013-03-28 19:20:12 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-28 19:20:12 +0400 |
commit | 67b9d740ae14e13ea8d58ee452f9f3a3e8d46398 (patch) | |
tree | 555ba34edad9311397aa19d6bcdd89694be7d0f9 /js | |
parent | bf6df2368da7e8b03f1bc0efdcdd69d26981cdab (diff) |
setActiveFeedId: assign feed/is-cat attributes to headlines-frame
Diffstat (limited to 'js')
-rw-r--r-- | js/tt-rss.js | 3 |
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); |