summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorTeddy Wing2013-11-10 12:20:07 -0500
committerTeddy Wing2013-11-10 12:20:07 -0500
commit50dcbc710a065cef782d9b11bc9d15fea4f0d71b (patch)
tree15a70c621ac9135232cbe70eb2eb84a3205f4415 /index.html
parentd907e2edc62ea2b990c722b9db0af73aecebaa74 (diff)
downloadclip-play-50dcbc710a065cef782d9b11bc9d15fea4f0d71b.tar.bz2
Add new samples when pressing the enter key in the add form
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.html b/index.html
index 0c9425d..2b1d35c 100644
--- a/index.html
+++ b/index.html
@@ -21,8 +21,10 @@
<div role="main">
<div id="add-sample">
- <input type="text" class="url-input js-sample-url" placeholder="http://www.youtube.com/watch?v=_JGaQ3g8WU4" />
- <button type="button" class="button green large js-create-sample">+</button>
+ <form action="" method="get" class="js-add-sample-form">
+ <input type="text" class="url-input js-sample-url" placeholder="http://www.youtube.com/watch?v=_JGaQ3g8WU4" />
+ <button type="button" class="button green large js-create-sample">+</button>
+ </form>
</div>
<div id="samples"></div>