Skip to content

Commit 7f5f2c4

Browse files
committed
Change text for max comments
1 parent a3e108b commit 7f5f2c4

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

package-lock.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/youtubeApi.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
function invidiousAPI(resource, id, params, success) {
2929
let requestUrl = 'https://www.invidio.us/api/v1/' + resource + '/' + id + '?' + $.param(params);
3030

31-
let requestUrl = 'https://www.googleapis.com/youtube/v3/' + resource + '?' + $.param(params);
32-
3331
if (useTor) {
3432
tor.request(requestUrl, (err, res, body) => {
3533
if (!err && res.statusCode == 200) {
@@ -82,4 +80,4 @@ function youtubedlGetInfo(videoId, callback) {
8280
ft.log('Success');
8381
callback(info);
8482
});
85-
}
83+
}

src/templates/player.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,10 @@
9595
<p class='miniPLVideoChannelName'>{{video.channelName}}</p>
9696
</div>
9797
</div>
98-
</a>
99-
<div class='smallButton' v-on:click='copy("invidio.us", videoId)'>
100-
COPY INVIDIOUS LINK
10198
</div>
10299
</div>
103100
<div id='showComments'>
104-
Show Comments <i class="far fa-comments"></i> (Max of 100)
101+
Show Comments <i class="far fa-comments"></i> (Max of 20)
105102
</div>
106103

107104
<div id='comments' :data-video-id="videoId">

0 commit comments

Comments
 (0)