search: Don't bother clearing the result display twice
It's just extra work, and breaks our hide/show hack to prevent the flashing on search results.
This commit is contained in:
parent
33e35f269f
commit
b9b4886a6f
@ -335,9 +335,10 @@ const SearchResultsBase = new Lang.Class({
|
||||
let hasMoreResults = results.length < providerResults.length;
|
||||
|
||||
this._ensureResultActors(results, Lang.bind(this, function(successful) {
|
||||
this._clearResultDisplay();
|
||||
if (!successful)
|
||||
if (!successful) {
|
||||
this._clearResultDisplay();
|
||||
return;
|
||||
}
|
||||
|
||||
// To avoid CSS transitions causing flickering when
|
||||
// the first search result stays the same, we hide the
|
||||
|
Loading…
Reference in New Issue
Block a user