When focus returns to search box, auto highlight all text

I amended the behavior of search in the full page search

If on the full page search

  • When you click on header magnifying glass we simply highlight the search term in the full page search box

  • When you hit / we highlight the search term for full page search

Effectively this means there is just one way of searching when you are on Search results for '' - Discourse Meta , which in my books is good :sunflower:

https://github.com/discourse/discourse/commit/086d31d53b4902238ec9e10207c219402e6437b4

4 « J'aime »