setActiveFeedId: assign feed/is-cat attributes to headlines-frame
This commit is contained in:
parent
bf6df2368d
commit
67b9d740ae
|
@ -36,6 +36,9 @@ function setActiveFeedId(id, is_cat) {
|
||||||
_active_feed_id = id;
|
_active_feed_id = id;
|
||||||
_active_feed_is_cat = is_cat;
|
_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);
|
selectFeed(id, is_cat);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("setActiveFeedId", e);
|
exception_error("setActiveFeedId", e);
|
||||||
|
|
|
@ -1035,3 +1035,4 @@ body#ttrssZoom div.footer {
|
||||||
select.attachments {
|
select.attachments {
|
||||||
display : block;
|
display : block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue