From 0213ec6d02a2841df07015a14a771b2b94c124c3 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 18 Apr 2018 18:54:30 +0200 Subject: [PATCH] Removed console.log calls --- front/src/components/Sidebar.vue | 1 - front/src/main.js | 2 +- front/src/views/playlists/List.vue | 1 - front/src/views/radios/Detail.vue | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/front/src/components/Sidebar.vue b/front/src/components/Sidebar.vue index 96047ab98..45487b6fb 100644 --- a/front/src/components/Sidebar.vue +++ b/front/src/components/Sidebar.vue @@ -159,7 +159,6 @@ export default { // for half the height of the containers display area var scrollBack = (container.scrollHeight - container.scrollTop <= container.clientHeight) ? 0 : container.clientHeight / 2 container.scrollTop = container.scrollTop - scrollBack - console.log(container.scrollHeight - container.scrollTop, container.clientHeight) } }, watch: { diff --git a/front/src/main.js b/front/src/main.js index 0c4129411..e7907d536 100644 --- a/front/src/main.js +++ b/front/src/main.js @@ -35,7 +35,7 @@ Vue.use(VueMasonryPlugin) Vue.use(VueLazyload) Vue.config.productionTip = false 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' } }) diff --git a/front/src/views/playlists/List.vue b/front/src/views/playlists/List.vue index 32ee5aafa..5001fb14d 100644 --- a/front/src/views/playlists/List.vue +++ b/front/src/views/playlists/List.vue @@ -76,7 +76,6 @@ export default { Pagination }, data () { - console.log('YOLO', this.$t) let defaultOrdering = this.getOrderingFromString(this.defaultOrdering || '-creation_date') return { isLoading: true, diff --git a/front/src/views/radios/Detail.vue b/front/src/views/radios/Detail.vue index 397dcb49e..b3b500cf6 100644 --- a/front/src/views/radios/Detail.vue +++ b/front/src/views/radios/Detail.vue @@ -83,7 +83,6 @@ export default { axios.get(url).then((response) => { self.radio = response.data axios.get(url + 'tracks', {params: {page: this.page}}).then((response) => { - console.log(response.data.count) this.totalTracks = response.data.count this.tracks = response.data.results }).then(() => {