Browse Source

Removed unneeded handleScroll functions on admin/songs

Owen Diffey 3 years ago
parent
commit
f3cd5c15b1

+ 0 - 7
frontend/src/pages/Admin/tabs/HiddenSongs.vue

@@ -276,13 +276,6 @@ export default {
 				}
 			);
 		},
-		handleScroll() {
-			const scrollPosition = document.body.clientHeight + window.scrollY;
-			const bottomPosition = document.body.scrollHeight;
-			if (this.loadAllSongs) return false;
-			if (scrollPosition + 400 >= bottomPosition) this.getSet();
-			return this.maxPosition === this.position;
-		},
 		selectPrevious(event) {
 			if (event.srcElement.previousElementSibling)
 				event.srcElement.previousElementSibling.focus();

+ 0 - 7
frontend/src/pages/Admin/tabs/UnverifiedSongs.vue

@@ -298,13 +298,6 @@ export default {
 				}
 			);
 		},
-		handleScroll() {
-			const scrollPosition = document.body.clientHeight + window.scrollY;
-			const bottomPosition = document.body.scrollHeight;
-			if (this.loadAllSongs) return false;
-			if (scrollPosition + 400 >= bottomPosition) this.getSet();
-			return this.maxPosition === this.position;
-		},
 		selectPrevious(event) {
 			if (event.srcElement.previousElementSibling)
 				event.srcElement.previousElementSibling.focus();

+ 0 - 7
frontend/src/pages/Admin/tabs/VerifiedSongs.vue

@@ -385,13 +385,6 @@ export default {
 				}
 			);
 		},
-		handleScroll() {
-			const scrollPosition = document.body.clientHeight + window.scrollY;
-			const bottomPosition = document.body.scrollHeight;
-			if (this.loadAllSongs) return false;
-			if (scrollPosition + 400 >= bottomPosition) this.getSet();
-			return this.maxPosition === this.position;
-		},
 		toggleArtistSelected(artist) {
 			if (this.artistFilterSelected.indexOf(artist) === -1)
 				this.artistFilterSelected.push(artist);

+ 0 - 5
frontend/src/pages/Station/index.vue

@@ -2072,11 +2072,6 @@ export default {
 				flex-basis: 50%;
 				.song-item {
 					border: unset;
-					.thumbnail {
-						min-width: 130px !important;
-						width: 130px !important;
-						height: 130px !important;
-					}
 				}
 				.nothing-here-text {
 					height: 100%;