tosdr/tosdr.org — pull request #132 by mrshu (2014-09-05 00:21:18+00:00)
Title: search: Added shareable searches by URL

This is my quick attempt to fix #130.

Note that the jQuery scrolling code takes quite a while to actually scroll down to `#services` which might not be what the expected UX should look like.

Also, it might be worth having a discussion on whether the search term should be put back to the `#searchBox` input. If so, it should certainly be escaped in order to prevent XSS and similar issues.

-->8--

* Extrapolated the search function out of existing JS code
* Added code to find the search term
* Added a way of scrolling to the '#services' ID when doing a search.