diff --git a/assets/js/comments.js b/assets/js/comments.js index 73be4bfa..237d6d7b 100644 --- a/assets/js/comments.js +++ b/assets/js/comments.js @@ -87,7 +87,7 @@ function get_youtube_comments() {

`; - document.getElementById("try-reddit-comments-link").onclick = swap_comments + document.getElementById("try-reddit-comments-link").onclick = swap_comments; } else { comments.innerHTML = fallback; } diff --git a/assets/js/watch.js b/assets/js/watch.js index 8eaf0654..1e872e3f 100644 --- a/assets/js/watch.js +++ b/assets/js/watch.js @@ -193,4 +193,4 @@ addEventListener('load', function (e) { } }); -document.getElementById("try-reddit-comments-link").onclick = swap_comments \ No newline at end of file +document.getElementById("try-reddit-comments-link").onclick = swap_comments;