Closes #1642: fix only one search result appearing in Chrome.

This commit is contained in:
Georg Brandl committed 2015-01-25 16:07:18 +01:00
1 parent 14b4a56bec
commit 398a207b75
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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)
+1 -1
View File
@@ -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);