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">
|
<div class="tab">
|
||||||
<template v-for="(item, name, index) in body">
|
<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>
|
@click="changeTab(name)">{{ name }}</button>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</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>
|
<script type="module" src="/public/js/app.js"></script>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -37,12 +37,6 @@ const ArtistTab = new Vue({
|
|||||||
openQualityModal(e) {
|
openQualityModal(e) {
|
||||||
QualityModal.open(e.currentTarget.dataset.link)
|
QualityModal.open(e.currentTarget.dataset.link)
|
||||||
},
|
},
|
||||||
moreInfo(url, e) {
|
|
||||||
if (e) {
|
|
||||||
e.preventDefault()
|
|
||||||
}
|
|
||||||
showTrackListSelective(url, true)
|
|
||||||
},
|
|
||||||
sortBy(key) {
|
sortBy(key) {
|
||||||
if (key == this.sortKey) {
|
if (key == this.sortKey) {
|
||||||
this.sortOrder = this.sortOrder == 'asc' ? 'desc' : 'asc'
|
this.sortOrder = this.sortOrder == 'asc' ? 'desc' : 'asc'
|
||||||
|
Loading…
Reference in New Issue
Block a user