Browse Source

add single_feed class to headlines

So themes can use it, for example, to hide the feed title.
Jordan Galby 8 months ago
parent
commit
8cddd97606
1 changed files with 1 additions and 0 deletions
  1. 1 0
      js/Headlines.js

+ 1 - 0
js/Headlines.js

@@ -405,6 +405,7 @@ define(["dojo/_base/declare"], function (declare) {
 			if (hl.published) row_class += " published";
 			if (hl.unread) row_class += " Unread";
 			if (headlines.vfeed_group_enabled) row_class += " vgrlf";
+			if (!hl.feed_title) row_class += " single_feed";
 
 			if (headlines.vfeed_group_enabled && hl.feed_title && this.vgroup_last_feed != hl.feed_id) {
 				let vgrhdr = `<div data-feed-id='${hl.feed_id}' class='feed-title'>