From 177bf18bfa1c173b211474d43abeab8289611a94 Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Fri, 12 Nov 2021 22:37:30 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> --- frontend/src/views/files/Preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 749cdcd9..8b257fe4 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -312,7 +312,7 @@ export default { for (let j = i + 1; j < this.listing.length; j++) { if (mediaTypes.includes(this.listing[j].type)) { this.nextLink = this.listing[j].url; - this.nextRaw=`${this.prefetchUrl(this.listing[j], this.nextLink)}&inline=true`; + this.nextRaw = this.prefetchUrl(this.listing[j]); break; } }