Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed auto bug

  • Loading branch information...
commit b937ade80c639ac05884b60027c7654098ef7655 1 parent 085fa38
@akhaku authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 tufts2012/static/js/magic.js
View
6 tufts2012/static/js/magic.js
@@ -191,7 +191,11 @@ function autocompleteInit(get_url, map) {
infowin.setPosition(latlng);
infowin.open(map);
return false;
- }
+ },
+ focus: function(e, v) {
+ $('#search-box').val(v.item.label);
+ return false;
+ }
});
/* Magic to detect no results found */
Please sign in to comment.
Something went wrong with that request. Please try again.