From 162f8fd9b52ce459bd4af44986f2fba848839d96 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Thu, 24 Aug 2017 21:01:10 -0700 Subject: [PATCH] Fix index page JS submit --- templates/index.pug | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/index.pug b/templates/index.pug index 8c9a7833..883cb8b4 100644 --- a/templates/index.pug +++ b/templates/index.pug @@ -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 My Channels page. + +append footer script(type="text/javascript"). $("#channelname").keydown(function (ev) { if (ev.keyCode === 13) {