Skip to content

armgit / my-yt

Public Imported from GitHub
0

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.js
index 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 = true
const $downloadLogLines = document.querySelector('.download-log .lines')
const text = $downloadLogLines.innerText
let lines = text.split('\n')