1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

setActiveFeedId: assign feed/is-cat attributes to headlines-frame

This commit is contained in:
Andrew Dolgov
2013-03-28 19:20:12 +04:00
parent bf6df2368d
commit 67b9d740ae
2 changed files with 4 additions and 0 deletions

View File

@@ -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);