Fixed artist tab active tab indicator
This commit is contained in:
parent
53878a440a
commit
31b1aa01e2
@ -959,7 +959,7 @@ <h1>{{ title }}</h1>
|
||||
|
||||
<div class="tab">
|
||||
<template v-for="(item, name, index) in body">
|
||||
<button :class="'selective' + (name==currentTab ? 'active' : '')" :href="'#artist_' + name"
|
||||
<button :class="'selective' + (name==currentTab ? ' active' : '')" :href="'#artist_' + name"
|
||||
@click="changeTab(name)">{{ name }}</button>
|
||||
</template>
|
||||
</div>
|
||||
@ -1102,4 +1102,4 @@ <h2 class="inline-flex"><span v-if="metadata">{{ metadata }}</span><span class="
|
||||
|
||||
<script type="module" src="/public/js/app.js"></script>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@ -37,12 +37,6 @@ const ArtistTab = new Vue({
|
||||
openQualityModal(e) {
|
||||
QualityModal.open(e.currentTarget.dataset.link)
|
||||
},
|
||||
moreInfo(url, e) {
|
||||
if (e) {
|
||||
e.preventDefault()
|
||||
}
|
||||
showTrackListSelective(url, true)
|
||||
},
|
||||
sortBy(key) {
|
||||
if (key == this.sortKey) {
|
||||
this.sortOrder = this.sortOrder == 'asc' ? 'desc' : 'asc'
|
||||
|
Loading…
Reference in New Issue
Block a user