Fix index page JS submit
This commit is contained in:
parent
3d50b8f52e
commit
162f8fd9b5
|
@ -18,6 +18,8 @@ block content
|
||||||
h3 Enter Channel
|
h3 Enter Channel
|
||||||
input#channelname.form-control(type="text", placeholder="Channel Name")
|
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.
|
p.text-muted New channels can be registered from the <a href="/account/channels">My Channels</a> page.
|
||||||
|
|
||||||
|
append footer
|
||||||
script(type="text/javascript").
|
script(type="text/javascript").
|
||||||
$("#channelname").keydown(function (ev) {
|
$("#channelname").keydown(function (ev) {
|
||||||
if (ev.keyCode === 13) {
|
if (ev.keyCode === 13) {
|
||||||
|
|
Loading…
Reference in a new issue