diff options
| author | Teddy Wing | 2013-11-10 06:36:58 -0500 |
|---|---|---|
| committer | Teddy Wing | 2013-11-10 06:36:58 -0500 |
| commit | 6d41687a9195791760bd815cdbe9775519c02ac2 (patch) | |
| tree | 1e55c7faeb8466bdbec9add6d83e50d650eff76b | |
| parent | 70440be316d8ea96ddd4583cad9219620c4ba2ac (diff) | |
| download | clip-play-6d41687a9195791760bd815cdbe9775519c02ac2.tar.bz2 | |
Remove the form tag because I kept accidentally pressing enter
When you press enter, it submits the form and reloads the page which
is not what we want to have happen in this case. We want the add
button to be clicked (manually or programmatically).
| -rw-r--r-- | index.html | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -24,10 +24,8 @@ <div role="main"> <div id="add-sample"> - <form action="" method="get"> - <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> + <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> </div> <div id="samples"></div> |
