From 7caa9da98818f4b9d657a5da746327e68a37856c Mon Sep 17 00:00:00 2001 From: syeopite <70992037+syeopite@users.noreply.github.com> Date: Sun, 17 Sep 2023 18:43:12 +0000 Subject: [PATCH] Condense try-reddit-comments-link HTML in player.js Co-authored-by: Samantaz Fox --- assets/js/comments.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/assets/js/comments.js b/assets/js/comments.js index 237d6d7b..f413e5ae 100644 --- a/assets/js/comments.js +++ b/assets/js/comments.js @@ -78,13 +78,9 @@ function get_youtube_comments() {

${video_data.youtube_comments_disabled_text}

-

- - - ${video_data.youtube_comments_disabled_try_reddit} - - -

+

+ ${video_data.youtube_comments_disabled_try_reddit} +

`; document.getElementById("try-reddit-comments-link").onclick = swap_comments;