feat: playlists and albums now open when pressing enter if they're focused (only home tab)
This commit is contained in:
parent
db1a0a5ec3
commit
c1198037a8
File diff suppressed because one or more lines are too long
@ -4,7 +4,6 @@
|
||||
|
||||
<section class="home_section" ref="notLogged" v-if="!isLoggedIn">
|
||||
<p id="home_not_logged_text">{{ $t('home.needTologin') }}</p>
|
||||
<!-- <button type="button" name="button" @click="openSettings">{{ $t('home.openSettings') }}</button> -->
|
||||
<router-link tag="button" name="button" :to="{ name: 'Settings' }">
|
||||
{{ $t('home.openSettings') }}
|
||||
</router-link>
|
||||
@ -18,6 +17,7 @@
|
||||
:key="release.id"
|
||||
class="release clickable"
|
||||
@click="playlistView"
|
||||
@keyup.enter="playlistView"
|
||||
:data-id="release.id"
|
||||
tabindex="0"
|
||||
>
|
||||
@ -55,6 +55,7 @@
|
||||
:key="release.id"
|
||||
class="release clickable"
|
||||
@click="albumView"
|
||||
@keyup.enter="albumView"
|
||||
:data-id="release.id"
|
||||
tabindex="0"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user