fix vfeed menu in three panel mode

This commit is contained in:
Andrew Dolgov 2021-10-11 13:49:20 +03:00
parent c6f5902cbc
commit 9e7e0e84d7
1 changed files with 5 additions and 5 deletions

View File

@ -514,7 +514,7 @@ const Headlines = {
${hl.cdm_excerpt ? hl.cdm_excerpt : ""} ${hl.cdm_excerpt ? hl.cdm_excerpt : ""}
</span> </span>
<div class="feed" data-feed-id="${hl.feed_id}"> <div class="feed vfeedMenuAttach" data-feed-id="${hl.feed_id}">
<a href="#" style="background-color: ${hl.feed_bg_color}" <a href="#" style="background-color: ${hl.feed_bg_color}"
onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}</a> onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}</a>
</div> </div>
@ -584,9 +584,9 @@ const Headlines = {
${Article.renderLabels(hl.id, hl.labels)} ${Article.renderLabels(hl.id, hl.labels)}
</span> </span>
</div> </div>
<span class="feed"> <span class="feed vfeedMenuAttach" data-feed-id="${hl.feed_id}">
<a style="background : ${hl.feed_bg_color}" href="#" onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}</a> <a style="background : ${hl.feed_bg_color}" href="#" onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}</a>
</span> </span>
<div title="${hl.imported}"> <div title="${hl.imported}">
<span class="updated">${hl.updated}</span> <span class="updated">${hl.updated}</span>
</div> </div>
@ -1508,7 +1508,7 @@ const Headlines = {
const menu = new dijit.Menu({ const menu = new dijit.Menu({
id: "vfeedMenu", id: "vfeedMenu",
targetNodeIds: ["headlines-frame"], targetNodeIds: ["headlines-frame"],
selector: ".header .feed" selector: ".vfeedMenuAttach"
}); });
menu.addChild(new dijit.MenuItem({ menu.addChild(new dijit.MenuItem({