Change parameter name to match backend.

This commit is contained in:
FireMasterK 2021-07-30 00:56:56 +05:30
parent 44607bf429
commit 2ca802e669
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
2 changed files with 5 additions and 3 deletions

View File

@ -16,8 +16,8 @@
"css-loader": "^6.2.0",
"dompurify": "^2.3.0",
"hotkeys-js": "^3.8.7",
"mux.js": "^5.12.2",
"javascript-time-ago": "^2.3.8",
"mux.js": "^5.12.2",
"register-service-worker": "^1.7.1",
"shaka-player": "3.2.0",
"uikit": "3.7.1",

View File

@ -10,7 +10,9 @@
:selectedAutoPlay="selectedAutoPlay"
:selectedAutoLoop="selectedAutoLoop"
/>
<div class="uk-text-bold uk-margin-small-top uk-text-large uk-text-emphasis uk-text-break">{{ video.title }}</div>
<div class="uk-text-bold uk-margin-small-top uk-text-large uk-text-emphasis uk-text-break">
{{ video.title }}
</div>
<div class="uk-flex uk-flex-middle">
<div class="uk-margin-small-right">{{ addCommas(video.views) }} views</div>
@ -231,7 +233,7 @@ export default {
if (window.innerHeight + window.scrollY >= this.$refs.comments.offsetHeight - window.innerHeight) {
this.loading = true;
this.fetchJson(this.apiUrl() + "/nextpage/comments/" + this.getVideoId(), {
url: this.comments.nextpage,
nextpage: this.comments.nextpage,
}).then(json => {
this.comments.nextpage = json.nextpage;
this.loading = false;