diff --git a/www/js/search.js b/www/js/search.js index 0bd4750cb6c4202b3ee1a413af7265c99c8b044d..f060f4121a4e2910aa5bd17938231d7d16247ebc 100644 --- a/www/js/search.js +++ b/www/js/search.js @@ -106,6 +106,9 @@ self = this; this._searchCanceled = false; + if (this._xhr) { + this._xhr.abort(); + } if (cacheData) { this._render(cacheData);