Codebase list gnome-maps / a12d4ec
placeEntry: Use previously stored search term for caching When caching search results use previously saved search string as the "text" property could change before the callback was called. Marcus Lundblad 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
265265 this._updateResults(places);
266266
267267 // cache results for later
268 this._cache[this.text] = places;
268 this._cache[this._previousSearch] = places;
269269 }
270270
271271 // if search input has been updated, trigger a refresh