diff --git a/js/ui/overlay.js b/js/ui/overlay.js index 2dc0139b5..ba7ec0b33 100644 --- a/js/ui/overlay.js +++ b/js/ui/overlay.js @@ -81,7 +81,7 @@ Sideshow.prototype = { if (me._searchQueued) return; Mainloop.timeout_add(250, function() { - let text = me._searchEntry.text; + let text = me._searchEntry.text.replace(/\s/g, ""); me._searchQueued = false; me._searchActive = text != ''; me._appDisplay.setSearch(text);