summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-02-01 12:42:27 +0300
committerAndrew Dolgov <[email protected]>2019-02-01 12:42:27 +0300
commit1124c3f00ae587ebf5fc250a0a25e450170e04ff (patch)
treeab68f9e321e8d58020e797c37e5e7a7531cdc44e /js
parent64bd45b51c0de8317cec5ad4f6c0473b2665edc6 (diff)
label display: fix unneeded nested container in headlines, increase overall minimalism, fix label element typo (div1)
Diffstat (limited to 'js')
-rwxr-xr-xjs/Headlines.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Headlines.js b/js/Headlines.js
index 77070f815..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">