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

master
Andrew Dolgov 11 years ago
parent bf6df2368d
commit 67b9d740ae

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

@ -1035,3 +1035,4 @@ body#ttrssZoom div.footer {
select.attachments {
display : block;
}

Loading…
Cancel
Save