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

*** empty log message ***

This commit is contained in:
Martin Stubenschrott
2007-05-01 11:23:14 +00:00
parent 7c16e5c969
commit eaca2e379d
4 changed files with 9 additions and 8 deletions

View File

@@ -1339,7 +1339,9 @@ function stringToURLs(str)
* open it with default search engine */
if (urls[url].match(/\s+/) || urls[url].match(/\.|:|\//) == null)
{
var default_engine = search_service.defaultEngine;
// defaultEngine is always the same (Google), therefor let's use the currentEngine
var default_engine = search_service.currentEngine;
//var default_engine = search_service.defaultEngine;
if (default_engine)
{
urls[url] = default_engine.getSubmission(urls[url], null).uri.spec;