summaryrefslogtreecommitdiff
path: root/js/Headlines.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-xjs/Headlines.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/js/Headlines.js b/js/Headlines.js
index 9da7f7149..3a9f323bb 100755
--- a/js/Headlines.js
+++ b/js/Headlines.js
@@ -173,15 +173,11 @@ define(["dojo/_base/declare"], function (declare) {
ft.setAttribute("data-article-id", id);
ft.innerHTML = header.innerHTML;
- ft.firstChild.innerHTML = "<img class='anchor marked-pic' src='images/page_white_go.png' " +
- "onclick=\"Article.cdmScrollToId(" + id + ", true)\">" + ft.firstChild.innerHTML;
- this.initFloatingMenu();
+ ft.select(".dijitCheckBox")[0].outerHTML = "<i class=\"material-icons anchor\" onclick=\"Article.cdmScrollToId(" + id + ", true)\">expand_more</i>";
- const cb = ft.select(".rchk")[0];
+ this.initFloatingMenu();
- if (cb)
- cb.parentNode.removeChild(cb);
}
if (row.hasClassName("Unread"))
@@ -1005,6 +1001,7 @@ define(["dojo/_base/declare"], function (declare) {
const menu = new dijit.Menu({
id: "floatingMenu",
+ selector: ".hlMenuAttach",
targetNodeIds: ["floatingTitle"]
});