mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-09 15:02:14 +05:30
Condense try-reddit-comments-link HTML in player.js
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
parent
a455df4a6e
commit
7caa9da988
@ -78,13 +78,9 @@ function get_youtube_comments() {
|
|||||||
<div id="comments-turned-off-on-video-message" class="h-box v-box">
|
<div id="comments-turned-off-on-video-message" class="h-box v-box">
|
||||||
<p><b>${video_data.youtube_comments_disabled_text}</b></p>
|
<p><b>${video_data.youtube_comments_disabled_text}</b></p>
|
||||||
|
|
||||||
<p>
|
<p><b><a href="javascript:void(0)" data-comments="reddit" id="try-reddit-comments-link">
|
||||||
<b>
|
${video_data.youtube_comments_disabled_try_reddit}
|
||||||
<a href="javascript:void(0)" data-comments="reddit" id="try-reddit-comments-link">
|
</a></b></p>
|
||||||
${video_data.youtube_comments_disabled_try_reddit}
|
|
||||||
</a>
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
document.getElementById("try-reddit-comments-link").onclick = swap_comments;
|
document.getElementById("try-reddit-comments-link").onclick = swap_comments;
|
||||||
|
Loading…
Reference in New Issue
Block a user