1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 00:47:59 +01:00

make sure search engine aliases are properly initialized

This commit is contained in:
Doug Kearns
2007-08-24 16:37:15 +00:00
parent 85cfdc4334
commit d005665723

View File

@@ -200,6 +200,10 @@ function Bookmarks() //{{{
if (!engine_name || engine_name == "")
engine_name = vimperator.options["defsearch"];
// we need to make sure our custom alias have been set, even if the user
// did not :open <tab> once before
this.getSearchEngines();
// first checks the search engines for a match
var engine = search_service.getEngineByAlias(engine_name);
if (engine)