diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/script.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/static/script.js b/static/script.js index ed5e2f9..4274c9c 100644 --- a/static/script.js +++ b/static/script.js @@ -213,6 +213,13 @@ function search(query) { return false; } +function userKeyPress(e) { + if (e.keyCode == 13) {// enter + $('#song').focus(); + return false; + } +} + function add(id, title) { params = { pid: pid, |