Fix index page JS submit

This commit is contained in:
Calvin Montgomery 2017-08-24 21:01:10 -07:00
parent 3d50b8f52e
commit 162f8fd9b5

View file

@ -18,6 +18,8 @@ block content
h3 Enter Channel
input#channelname.form-control(type="text", placeholder="Channel Name")
p.text-muted New channels can be registered from the <a href="/account/channels">My Channels</a> page.
append footer
script(type="text/javascript").
$("#channelname").keydown(function (ev) {
if (ev.keyCode === 13) {