mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 03:55:56 +00:00
setActiveFeedId: assign feed/is-cat attributes to headlines-frame
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user