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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user