« get me outta code hell

Remove dead 'defaultIndex' argument - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-08-25 19:49:06 -0300
committerFlorrie <towerofnix@gmail.com>2019-08-25 19:49:06 -0300
commit69736b797c5058f526a359e24f4b43020c0c7236 (patch)
treef270cfb373f963bf221b64beb1d97dc89388aea8
parent1337e00646d1b888db6ad8827faf1db9a0329cf3 (diff)
Remove dead 'defaultIndex' argument
I didn't end up using this.
-rw-r--r--ui.js2
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