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
master
wn_ 7 years ago
parent 22adcd7466
commit b5fc9781ad

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

Loading…
Cancel
Save