diff options
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-x | js/Headlines.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/js/Headlines.js b/js/Headlines.js index 6e1901fdc..e83a5fac7 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -442,7 +442,7 @@ define(["dojo/_base/declare"], function (declare) { <a class="title" title="${hl.title}" target="_blank" rel="noopener noreferrer" href="${hl.link}"> ${hl.title}</a> <span class="author">${hl.author}</span> - <span class="HLLCTR-${hl.id}">${hl.labels}</span> + ${hl.labels} ${hl.cdm_excerpt ? hl.cdm_excerpt : ""} </span> @@ -502,7 +502,7 @@ define(["dojo/_base/declare"], function (declare) { <span data-article-id="${hl.id}" class="hl-content hlMenuAttach"> <a class="title" href="${hl.link}">${hl.title} <span class="preview">${hl.content_preview}</span></a> <span class="author">${hl.author}</span> - <span class="HLLCTR-${hl.id}">${hl.labels}</span> + ${hl.labels} </span> </div> <span class="feed"> @@ -561,6 +561,9 @@ define(["dojo/_base/declare"], function (declare) { $("headlines-frame").addClassName(App.isCombinedMode() ? "cdm" : "normal"); + $("headlines-frame").setAttribute("is-vfeed", + reply['headlines']['is_vfeed'] ? 1 : 0); + Article.setActive(0); try { |