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: document title number before title

Christian Fei648049a61a79
diff --git a/client/components/search-videos.js b/client/components/search-videos.js
index 7c5c7bc..485c004 100644
--- a/client/components/search-videos.js
+++ b/client/components/search-videos.js
@@ -129,7 +129,7 @@ class SearchVideos extends HTMLElement {
videos.forEach(video =>
$videosContainer.appendChild(createVideoElement(video, showOriginalThumbnail))
)
- document.title = `my-yt - (${videos.length})`
+ document.title = `(${videos.length}) my-yt`
if (event) {
if (videos.length > 0) {
$status.innerText = `Found ${videos.length} video${videos.length === 1 ? '' : 's'}`