From 5c6f11a7a9f3a86c93869f3906064b695ed7d77d Mon Sep 17 00:00:00 2001 From: Fijxu Date: Wed, 21 Oct 2026 20:17:44 -0300 Subject: [PATCH] chore: remove unused swap_comments JS function from watch.js --- assets/js/watch.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/assets/js/watch.js b/assets/js/watch.js index 18c53d669..45cfdd2a9 100644 --- a/assets/js/watch.js +++ b/assets/js/watch.js @@ -11,14 +11,6 @@ function toggle_parent(target) { } } -function swap_comments(event) { - var source = event.target.getAttribute('data-comments'); - - if (source === 'youtube') { - get_youtube_comments(); - } -} - var continue_button = document.getElementById('continue'); if (continue_button) { continue_button.onclick = continue_autoplay;