diff options
author | Florrie <towerofnix@gmail.com> | 2018-06-12 21:52:20 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-06-12 21:52:22 -0300 |
commit | 007092f6b0e6ff6681ab7bec64eee5efed0c7ead (patch) | |
tree | a862928937bd099a0c67ce4878e39e14521ce15b | |
parent | d5680c5f942b29d67a0e9ac10f7eded9b6f6b38c (diff) |
Remove unnecessary selectInput(main listing)
Useful if clearQueue is called by some other function where it's not expected to change the focus. The last commit already handles the queue listing being empty, so this line isn't necessary to prevent a crash anymore.
-rw-r--r-- | ui.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui.js b/ui.js index 88d3eb0..2f7b010 100644 --- a/ui.js +++ b/ui.js @@ -171,7 +171,6 @@ class AppElement extends FocusElement { } clearQueue() { - this.form.selectInput(this.grouplikeListingElement) this.queueGrouplike.items = [] this.queueListingElement.buildItems() this.queueListingElement.pathElement.showItem(null) |