Resolve "Browser keyboard shortcuts do not work on some pages"

This commit is contained in:
Ciarán Ainsworth 2019-12-04 09:49:55 +01:00 committed by Eliot Berriot
parent 384599a12a
commit 7836b8a59d
2 changed files with 5 additions and 4 deletions

View File

@ -0,0 +1 @@
Fix issue with browser shortcuts such as search and focus URL not being recognised (#340, #985)

View File

@ -215,10 +215,10 @@
@keydown.shift.right.prevent.exact="seek (30)"
@keydown.shift.left.prevent.exact="seek (-30)"
@keydown.m.prevent.exact="toggleMute"
@keydown.l.prevent.exact="$store.commit('player/toggleLooping')"
@keydown.s.prevent.exact="shuffle"
@keydown.f.prevent.exact="$store.dispatch('favorites/toggle', currentTrack.id)"
@keydown.q.prevent.exact="clean"
@keydown.l.exact="$store.commit('player/toggleLooping')"
@keydown.s.exact="shuffle"
@keydown.f.exact="$store.dispatch('favorites/toggle', currentTrack.id)"
@keydown.q.exact="clean"
/>
</div>
</section>