diff --git a/views/layout.erb b/views/layout.erb index 361f5139..43f09dab 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -68,6 +68,8 @@ callback(suggestionObjects) }) } + }).on('typeahead:selected', function(e) { + e.target.form.submit() })
@@ -154,7 +158,8 @@