From 67b9d740ae14e13ea8d58ee452f9f3a3e8d46398 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Mar 2013 19:20:12 +0400 Subject: [PATCH] setActiveFeedId: assign feed/is-cat attributes to headlines-frame --- js/tt-rss.js | 3 +++ tt-rss.css | 1 + 2 files changed, 4 insertions(+) diff --git a/js/tt-rss.js b/js/tt-rss.js index 6fdb8ff5..ae5815b6 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); diff --git a/tt-rss.css b/tt-rss.css index 5a260bd5..68b866b4 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1035,3 +1035,4 @@ body#ttrssZoom div.footer { select.attachments { display : block; } + -- 2.39.5