Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

build: fix standard

Christian8206e57508c0
diff --git a/client/components/search-videos.js b/client/components/search-videos.js
index 9b57a3b..7c5c7bc 100644
--- a/client/components/search-videos.js
+++ b/client/components/search-videos.js
@@ -133,8 +133,7 @@ class SearchVideos extends HTMLElement {
if (event) {
if (videos.length > 0) {
$status.innerText = `Found ${videos.length} video${videos.length === 1 ? '' : 's'}`
- }
- else $status.innerText = 'No videos found'
+ } else $status.innerText = 'No videos found'
}
})
.catch(err => {