summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-08-21 02:50:09 -0700
committerraylu <raylu@mixpanel.com>2011-08-21 02:50:09 -0700
commit569d9165efbd1aeef7238ae4166160865f75377c (patch)
tree0583c58d798042713af56ba70dab78c1e6193582 /templates
parent820edebc26f2254bfb78e779a79af70dac2b84d8 (diff)
downloadaudioaxis-569d9165efbd1aeef7238ae4166160865f75377c.tar.xz
don't search when enter is hit on username field
Diffstat (limited to 'templates')
-rw-r--r--templates/p.html2
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">