From 561ce9e94967ecdfdbb92ec8e045ba248e4ca479 Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 10 Aug 2023 11:59:43 -0700 Subject: [PATCH] Add missing semicolons --- assets/js/comments.js | 2 +- assets/js/watch.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;