kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Removed console.log calls
rodzic
c1b8180fce
commit
0213ec6d02
|
@ -159,7 +159,6 @@ export default {
|
||||||
// for half the height of the containers display area
|
// for half the height of the containers display area
|
||||||
var scrollBack = (container.scrollHeight - container.scrollTop <= container.clientHeight) ? 0 : container.clientHeight / 2
|
var scrollBack = (container.scrollHeight - container.scrollTop <= container.clientHeight) ? 0 : container.clientHeight / 2
|
||||||
container.scrollTop = container.scrollTop - scrollBack
|
container.scrollTop = container.scrollTop - scrollBack
|
||||||
console.log(container.scrollHeight - container.scrollTop, container.clientHeight)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
@ -35,7 +35,7 @@ Vue.use(VueMasonryPlugin)
|
||||||
Vue.use(VueLazyload)
|
Vue.use(VueLazyload)
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
Vue.directive('title', {
|
Vue.directive('title', {
|
||||||
inserted: (el, binding) => { console.log(binding.value); document.title = binding.value + ' - Funkwhale' },
|
inserted: (el, binding) => { document.title = binding.value + ' - Funkwhale' },
|
||||||
updated: (el, binding) => { document.title = binding.value + ' - Funkwhale' }
|
updated: (el, binding) => { document.title = binding.value + ' - Funkwhale' }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,6 @@ export default {
|
||||||
Pagination
|
Pagination
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
console.log('YOLO', this.$t)
|
|
||||||
let defaultOrdering = this.getOrderingFromString(this.defaultOrdering || '-creation_date')
|
let defaultOrdering = this.getOrderingFromString(this.defaultOrdering || '-creation_date')
|
||||||
return {
|
return {
|
||||||
isLoading: true,
|
isLoading: true,
|
||||||
|
|
|
@ -83,7 +83,6 @@ export default {
|
||||||
axios.get(url).then((response) => {
|
axios.get(url).then((response) => {
|
||||||
self.radio = response.data
|
self.radio = response.data
|
||||||
axios.get(url + 'tracks', {params: {page: this.page}}).then((response) => {
|
axios.get(url + 'tracks', {params: {page: this.page}}).then((response) => {
|
||||||
console.log(response.data.count)
|
|
||||||
this.totalTracks = response.data.count
|
this.totalTracks = response.data.count
|
||||||
this.tracks = response.data.results
|
this.tracks = response.data.results
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
Ładowanie…
Reference in New Issue