« get me outta code hell

cancel jump-to when selecting outside of listing - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/ui.js
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2020-09-16 12:52:40 -0300
committer(quasar) nebula <towerofnix@gmail.com>2020-09-16 12:52:40 -0300
commit60f33193fb78c8154a1b112d0faf76af34288df8 (patch)
tree03e413f83c5ca128dbc77bd2f9bbd05ed9309052 /ui.js
parent466582b32b1b3749d30c24827a934d8e826723f3 (diff)
cancel jump-to when selecting outside of listing
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 642a02a..5a801de 100644
--- a/ui.js
+++ b/ui.js
@@ -2070,6 +2070,10 @@ class GrouplikeListingElement extends Form {
     this.fixLayout()
   }
 
+  unselected() {
+    this.hideJumpElement(true)
+  }
+
   get tabberLabel() {
     if (this.grouplike) {
       return this.grouplike.name || 'Unnamed group'