Change text for max comments

This commit is contained in:
PrestonN 2018-10-19 18:39:06 -04:00
parent 10dfc2c147
commit fc66812001
3 changed files with 5 additions and 8 deletions

4
package-lock.json generated
View File

@ -91,7 +91,9 @@
"abab": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz",
"integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4="
"integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=",
"dev": true,
"optional": true
},
"abbrev": {
"version": "1.1.1",

View File

@ -28,8 +28,6 @@
function invidiousAPI(resource, id, params, success) {
let requestUrl = 'https://www.invidio.us/api/v1/' + resource + '/' + id + '?' + $.param(params);
let requestUrl = 'https://www.googleapis.com/youtube/v3/' + resource + '?' + $.param(params);
if (useTor) {
tor.request(requestUrl, (err, res, body) => {
if (!err && res.statusCode == 200) {
@ -82,4 +80,4 @@ function youtubedlGetInfo(videoId, callback) {
ft.log('Success');
callback(info);
});
}
}

View File

@ -95,13 +95,10 @@
<p class='miniPLVideoChannelName'>{{video.channelName}}</p>
</div>
</div>
</a>
<div class='smallButton' v-on:click='copy("invidio.us", videoId)'>
COPY INVIDIOUS LINK
</div>
</div>
<div id='showComments'>
Show Comments <i class="far fa-comments"></i> (Max of 100)
Show Comments <i class="far fa-comments"></i> (Max of 20)
</div>
<div id='comments' :data-video-id="videoId">