mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Apply linter.
This commit is contained in:
parent
f33223aaa3
commit
6030ee347c
1 changed files with 11 additions and 5 deletions
|
@ -24,7 +24,11 @@
|
||||||
<font-awesome-icon class="uk-margin-small-right" icon="thumbs-down"></font-awesome-icon>
|
<font-awesome-icon class="uk-margin-small-right" icon="thumbs-down"></font-awesome-icon>
|
||||||
<b>{{ addCommas(video.dislikes) }}</b>
|
<b>{{ addCommas(video.dislikes) }}</b>
|
||||||
</div>
|
</div>
|
||||||
<a :href="'https://youtu.be/' + getVideoId()" class="uk-margin-small-left uk-button uk-button-small" style="background: #222">
|
<a
|
||||||
|
:href="'https://youtu.be/' + getVideoId()"
|
||||||
|
class="uk-margin-small-left uk-button uk-button-small"
|
||||||
|
style="background: #222"
|
||||||
|
>
|
||||||
<font-awesome-icon class="uk-margin-small-right" :icon="['fab', 'youtube']"></font-awesome-icon>
|
<font-awesome-icon class="uk-margin-small-right" :icon="['fab', 'youtube']"></font-awesome-icon>
|
||||||
<b>Watch on</b>
|
<b>Watch on</b>
|
||||||
</a>
|
</a>
|
||||||
|
@ -53,7 +57,9 @@
|
||||||
{{ showDesc ? "Minimize Description" : "Show Description" }}
|
{{ showDesc ? "Minimize Description" : "Show Description" }}
|
||||||
</a>
|
</a>
|
||||||
<p v-show="showDesc" :style="[{ colour: foregroundColor }]" v-html="video.description"></p>
|
<p v-show="showDesc" :style="[{ colour: foregroundColor }]" v-html="video.description"></p>
|
||||||
<div v-if="showDesc && sponsors && sponsors.segments">Sponsors Segments: {{ sponsors.segments.length }}</div>
|
<div v-if="showDesc && sponsors && sponsors.segments">
|
||||||
|
Sponsors Segments: {{ sponsors.segments.length }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -190,7 +196,7 @@ export default {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
if (!this.video.error) {
|
if (!this.video.error) {
|
||||||
document.title = this.video.title + " - Piped";
|
document.title = this.video.title + " - Piped";
|
||||||
this.channelId = this.video.uploaderUrl.split('/')[2];
|
this.channelId = this.video.uploaderUrl.split("/")[2];
|
||||||
this.fetchSubscribedStatus();
|
this.fetchSubscribedStatus();
|
||||||
|
|
||||||
this.video.description = this.purifyHTML(
|
this.video.description = this.purifyHTML(
|
||||||
|
@ -215,7 +221,7 @@ export default {
|
||||||
this.fetchJson(
|
this.fetchJson(
|
||||||
this.apiUrl() + "/subscribed",
|
this.apiUrl() + "/subscribed",
|
||||||
{
|
{
|
||||||
channelId: this.channelId
|
channelId: this.channelId,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue