1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 21:35:56 +00:00

Don't display label context menu items if there are no labels.

Caused by: 5e78b0c253
See: https://discourse.tt-rss.org/t/label-options-sometimes-not-showing-in-context-menu/366
This commit is contained in:
wn_
2017-08-01 18:15:16 -05:00
parent 22adcd7466
commit b5fc9781ad

View File

@@ -1740,7 +1740,7 @@ function headlinesMenuCommon(menu) {
var labels = getInitParam("labels");
if (labels) {
if (labels && labels.length) {
menu.addChild(new dijit.MenuSeparator());