From ce36eafc2f2918c0ec20b993dfaa01374a80a8bc Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 21 Jan 2009 22:36:53 +0000 Subject: [PATCH] Bug 568624: Make overlay search case insensitive svn path=/trunk/; revision=161 --- js/ui/overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);