viewSelector: Don't strip whitespace from search strings
This is already done by the search system itself. https://bugzilla.gnome.org/show_bug.cgi?id=693458
This commit is contained in:
parent
8c5a343729
commit
c8365b7444
@ -423,8 +423,7 @@ const ViewSelector = new Lang.Class({
|
||||
|
||||
_doSearch: function () {
|
||||
this._searchTimeoutId = 0;
|
||||
let text = this._text.get_text().replace(/^\s+/g, '').replace(/\s+$/g, '');
|
||||
this._searchResults.doSearch(text);
|
||||
this._searchResults.doSearch(this._text.text);
|
||||
|
||||
this._showPage(this._searchPage);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user