summaryrefslogtreecommitdiff
path: root/users/app/assets/javascripts/users.js
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-04 01:33:09 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:12:59 -0700
commit89ad6bd802f9e57c687e8cdb8593c3984e2fbd1b (patch)
tree3079996a475e947deece071fc6b1caea3edb1f80 /users/app/assets/javascripts/users.js
parent33f55eed348769e1d14b283ec36b8f1bfc2d3c98 (diff)
fix user typeahead
Diffstat (limited to 'users/app/assets/javascripts/users.js')
-rw-r--r--users/app/assets/javascripts/users.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/app/assets/javascripts/users.js b/users/app/assets/javascripts/users.js
index eed1961..1d05692 100644
--- a/users/app/assets/javascripts/users.js
+++ b/users/app/assets/javascripts/users.js
@@ -10,7 +10,7 @@
};
poll_users = function(query, process) {
- return $.get("/users.json", {
+ return $.get("/1/users.json", {
query: query
}).done(process);
};
@@ -66,7 +66,7 @@
$('#new_session').submit(srp.login);
$('#update_login_and_password').submit(prevent_default);
$('#update_login_and_password').submit(srp.update);
- return $('.user.typeahead').typeahead({
+ return $('#user-typeahead').typeahead({
source: poll_users
});
});