aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content_scripts/vomnibar.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/content_scripts/vomnibar.js b/content_scripts/vomnibar.js
index 93fd79da..f0460ffa 100644
--- a/content_scripts/vomnibar.js
+++ b/content_scripts/vomnibar.js
@@ -18,10 +18,11 @@ var vomnibar = (function() {
completer.refresh();
vomnibarUI.setCompleter(completer);
vomnibarUI.setRefreshInterval(refreshInterval);
- if (initialQueryValue)
- vomnibarUI.setQuery(initialQueryValue);
vomnibarUI.show();
- return vomnibarUI;
+ if (initialQueryValue) {
+ vomnibarUI.setQuery(initialQueryValue);
+ vomnibarUI.update();
+ }
}
/** User interface for fuzzy completion */
@@ -196,7 +197,7 @@ var vomnibar = (function() {
if (msg.id != id) return;
// The result objects coming from the background page will be of the form:
// { html: "", type: "", url: "" }
- // type will be one of [tab, bookmark, history].
+ // type will be one of [tab, bookmark, history, domain].
var results = msg.results.map(function(result) {
var functionToCall;
if (result.type == "tab")