diff options
author | wn_ <[email protected]> | 2017-08-01 18:15:16 -0500 |
---|---|---|
committer | wn_ <[email protected]> | 2017-08-01 18:15:16 -0500 |
commit | b5fc9781adf9753d2c764421af7b0355234d21a1 (patch) | |
tree | a86e6f5ee68d0f946de38a683c24072efaffb758 /js/viewfeed.js | |
parent | 22adcd7466777d21d7d642647831761d90ea289a (diff) |
Don't display label context menu items if there are no labels.
Caused by: 5e78b0c253d56d85b0339636c8793f93c835b792
See: https://discourse.tt-rss.org/t/label-options-sometimes-not-showing-in-context-menu/366
Diffstat (limited to 'js/viewfeed.js')
-rwxr-xr-x | js/viewfeed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index 3aaea99b9..e0ad2dd32 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1740,7 +1740,7 @@ function headlinesMenuCommon(menu) { var labels = getInitParam("labels"); - if (labels) { + if (labels && labels.length) { menu.addChild(new dijit.MenuSeparator()); |