more library artists fixes
This commit is contained in:
parent
fedd28d8a6
commit
d4b12fd595
3 changed files with 21 additions and 8 deletions
|
@ -42,7 +42,12 @@
|
|||
type: String,
|
||||
required: false,
|
||||
default: "artists"
|
||||
}
|
||||
},
|
||||
parentSelector: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: null
|
||||
},
|
||||
},
|
||||
data: function() {
|
||||
return {
|
||||
|
@ -69,7 +74,7 @@
|
|||
},
|
||||
scrollToTop() {
|
||||
let target = document.querySelector(".header-text")
|
||||
document.querySelector("#app-content").scrollTo({
|
||||
document.querySelector(this.parentSelector ?? ".collection-page").scrollTo({
|
||||
top: 0,
|
||||
left: 0,
|
||||
behavior: 'smooth'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue