mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 13:41:27 +00:00
remove useless view article menu item when in CDM
This commit is contained in:
11
viewfeed.js
11
viewfeed.js
@@ -2260,11 +2260,12 @@ function initHeadlinesMenu() {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
menu.addChild(new dijit.MenuItem({
|
if (!isCdmMode())
|
||||||
label: __("View article"),
|
menu.addChild(new dijit.MenuItem({
|
||||||
onClick: function(event) {
|
label: __("View article"),
|
||||||
view(this.getParent().callerRowId);
|
onClick: function(event) {
|
||||||
}}));
|
view(this.getParent().callerRowId);
|
||||||
|
}}));
|
||||||
|
|
||||||
menu.addChild(new dijit.MenuItem({
|
menu.addChild(new dijit.MenuItem({
|
||||||
label: __("View in a new tab"),
|
label: __("View in a new tab"),
|
||||||
|
|||||||
Reference in New Issue
Block a user