Commit b93ca73e authored by Bryce Johnson's avatar Bryce Johnson

Refactor SearchAutocomplete to ES6 class syntax.

parent 01fdb521
...@@ -279,7 +279,8 @@ ...@@ -279,7 +279,8 @@
Dispatcher.prototype.initSearch = function() { Dispatcher.prototype.initSearch = function() {
// Only when search form is present // Only when search form is present
if ($('.search').length) { if ($('.search').length) {
return new SearchAutocomplete(); debugger;
return new gl.SearchAutocomplete();
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment