Skip to content

armgit / my-yt

Public Imported from GitHub
0

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

JavaScript

style: button to add channel

Christian Feibaf1da1ac905
diff --git a/client/components/add-channel-form.js b/client/components/add-channel-form.js
index 3be959b..2341f43 100644
--- a/client/components/add-channel-form.js
+++ b/client/components/add-channel-form.js
@@ -21,8 +21,9 @@ class AddChannelForm extends HTMLElement {
<div class="flex space-between">
<label for="channel-name">Add a new channel</label>
<input type="text" id="channel-name" placeholder="Channel Name" required>
+ <button type="submit">Add Channel</button>
+ <span class="loader"></span>
</div>
- <span class="loader"></span>
</form>
`
}