projectblacklight/blacklight — pull request #593 by cbeer (2013-08-19 16:04:34+00:00)
Title: use HTML5 autofocus attribute and the helper should_autofocus_on_search_...

use HTML5 autofocus attribute and the helper should_autofocus_on_search_box? to determine if a search box should be autofocused or not.

fixes #584.

I've included support for modernizr, if it is is provided, but do not force it on downstream consumers.