From 6a97f4cf5e1f1c21336d2fce9da20c3bc5633d05 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 29 May 2015 14:20:19 +0100 Subject: Prepopulate @customSearchMode in vomnibar. This avoids a flicker whereby the keyword is first inserted into the input, then removed. --- content_scripts/vomnibar.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts') diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee index 76698634..d46b2daf 100644 --- a/content_scripts/vomnibar.coffee +++ b/content_scripts/vomnibar.coffee @@ -8,7 +8,7 @@ Vomnibar = extras = {} for extra in registryEntry.extras [ key, value ] = extra.split "=" - extras.query = "#{value} " if key? and key == "keyword" and value? and 0 < value.length + extras.keyword = value if key? and key == "keyword" and value? and 0 < value.length extras # sourceFrameId here (and below) is the ID of the frame from which this request originates, which may be different -- cgit v1.2.3