diff options
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js index e0ab4f6..3102dfb 100644 --- a/ui.js +++ b/ui.js @@ -2920,7 +2920,7 @@ class ContextMenu extends FocusElement { this.submenu = null } - show({x = 0, y = 0, defaultIndex = 0, items}) { + show({x = 0, y = 0, items}) { items = items.filter(Boolean) if (!items.length) { return |