Apply suggestions from code review

Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
This commit is contained in:
niubility000 2021-11-12 22:36:51 +08:00 committed by GitHub
parent 9667bcec7e
commit 1a49028736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,7 @@ export default {
for (let j = i - 1; j >= 0; j--) { for (let j = i - 1; j >= 0; j--) {
if (mediaTypes.includes(this.listing[j].type)) { if (mediaTypes.includes(this.listing[j].type)) {
this.previousLink = this.listing[j].url; this.previousLink = this.listing[j].url;
this.previousRaw=`${this.prefetchUrl(this.listing[j], this.previousLink)}&inline=true`; this.previousRaw = this.prefetchUrl(this.listing[j]);
break; break;
} }
} }