diff options
author | Florrie <towerofnix@gmail.com> | 2017-11-09 00:24:41 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2017-11-09 00:24:41 -0400 |
commit | 8da8488a943362c3f7bc222c3a26640b8591cb04 (patch) | |
tree | 3082f3498069dd5098e085f275946b64984c28a2 /src/play.js | |
parent | 56c969110143652410c48785118ab2a2c1d3519e (diff) | |
parent | 9116735f71e6f392c726006cf7ae5d46ea91ccfa (diff) |
Merge branch 'master' of https://github.com/towerofnix/http-music
Diffstat (limited to 'src/play.js')
-rwxr-xr-x | src/play.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/play.js b/src/play.js index db2462c..2a5cbdd 100755 --- a/src/play.js +++ b/src/play.js @@ -184,7 +184,9 @@ async function main(args) { keybindings.splice(0) } - keybindings.push(...openedKeybindings) + // Place new keybindings at the top of the array, so that they are + // prioritized over old ones. + keybindings.unshift(...openedKeybindings) } function requiresOpenPlaylist() { |