A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
chore: avoid opening download log every damn time an update comes in
Christian Fei7168b3dd6c5b
diff --git a/client/main.js b/client/main.jsindex 1d93cab..e804eea 100644--- a/client/main.js+++ b/client/main.js@@ -11,7 +11,7 @@ eventSource.onmessage = (message) => {if (data.type === 'download-log-line' && data.line) {const $downloadLog = document.querySelector('.download-log')- $downloadLog.open = true+ // $downloadLog.open = trueconst $downloadLogLines = document.querySelector('.download-log .lines')const text = $downloadLogLines.innerTextlet lines = text.split('\n')