diff options
author | raylu <raylu@mixpanel.com> | 2011-08-21 02:50:09 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-08-21 02:50:09 -0700 |
commit | 569d9165efbd1aeef7238ae4166160865f75377c (patch) | |
tree | 0583c58d798042713af56ba70dab78c1e6193582 /templates/p.html | |
parent | 820edebc26f2254bfb78e779a79af70dac2b84d8 (diff) | |
download | audioaxis-569d9165efbd1aeef7238ae4166160865f75377c.tar.xz |
don't search when enter is hit on username field
Diffstat (limited to 'templates/p.html')
-rw-r--r-- | templates/p.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/p.html b/templates/p.html index 76e1dfd..8811e0a 100644 --- a/templates/p.html +++ b/templates/p.html @@ -5,7 +5,7 @@ <img src="/static/audioaxis-white.png" alt="Audio Axis" class="aa"> <form onsubmit="return search(this.song.value)"> <label for="user">Username:</label> - <input type="text" id="user" value="anonymous" size="16"> + <input type="text" id="user" value="anonymous" size="16" onkeypress="return userKeyPress(event)"> <br> <label for="song">Add a song:</label> <input type="text" id="song" autocomplete="off"> |