1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:57:58 +01:00

hopefully (=not tested) fixed regression with search engines

This commit is contained in:
Martin Stubenschrott
2008-08-05 00:16:30 +00:00
parent dc92e16e88
commit 8a64e78d9e

View File

@@ -393,6 +393,10 @@ liberator.Bookmarks = function () //{{{
var aPostDataRef = {};
var searchString = (useDefsearch? liberator.options["defsearch"] + " " : "") + text;
// we need to make sure our custom alias have been set, even if the user
// did not :open <tab> once before
this.getSearchEngines();
url = getShortcutOrURI(searchString, aPostDataRef);
if (url == searchString)
url = null;