diff --git a/CHANGES b/CHANGES index 3ed21bee8..ea2406945 100644 --- a/CHANGES +++ b/CHANGES @@ -29,6 +29,7 @@ Bugs fixed * #1674: Do not crash if a module's ``__all__`` is not a list of strings. * #1673: Fix crashes with :confval:`nitpick_ignore` and ``:doc:`` references. * #1686: ifconfig directive doesn't care about default config values. +* #1642: Fix only one search result appearing in Chrome. Release 1.2.3 (released Sep 1, 2014) diff --git a/sphinx/themes/basic/static/searchtools.js_t b/sphinx/themes/basic/static/searchtools.js_t index 90f7a655a..38515a99e 100644 --- a/sphinx/themes/basic/static/searchtools.js_t +++ b/sphinx/themes/basic/static/searchtools.js_t @@ -259,7 +259,7 @@ var Search = { dataType: "text", complete: function(jqxhr, textstatus) { var data = jqxhr.responseText; - if (data !== '') { + if (data !== '' && data !== undefined) { listItem.append(Search.makeSearchSummary(data, searchterms, hlterms)); } Search.output.append(listItem);