diff options
Diffstat (limited to 'morphic.js')
| -rw-r--r-- | morphic.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6893,6 +6893,9 @@ MenuMorph.prototype.popup = function (world, pos) { if (world.activeMenu) { world.activeMenu.destroy(); } + if (this.items.length < 1 && !this.title) { // don't show empty menus + return; + } world.add(this); world.activeMenu = this; this.fullChanged(); |
