diff --git a/sphinx/static/searchtools.js b/sphinx/static/searchtools.js index e945d20f07..eb7d62c387 100644 --- a/sphinx/static/searchtools.js +++ b/sphinx/static/searchtools.js @@ -239,7 +239,7 @@ var Search = { }, hasIndex : function() { - return self._index !== null; + return this._index !== null; }, deferQuery : function(query) {