Fixed invalid JavaScript

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>
This commit is contained in:
Daniel Fagnan 2014-02-22 18:08:17 -07:00
parent 22d3669b9e
commit c08cfa1872

View File

@ -582,7 +582,7 @@
// Synchronize search bar with query string state and
// perform the search, but don't empty the bar if there's
// nothing there.
if params.search !== undefined {
if (params.search !== undefined) {
$('.search-input').val(params.search);
}
// Some browsers fire 'onpopstate' for every page load (Chrome), while others fire the