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

small changes

This commit is contained in:
Martin Stubenschrott
2007-04-25 23:49:59 +00:00
parent 57094b927a
commit a49ffd552b

View File

@@ -1250,7 +1250,7 @@ function stringToURLs(str)
} }
} }
/* if the string contains a space or does not conatain any of: .:/ /* if the string contains a space or does not contain any of: .:/
* open it with default searchengine */ * open it with default searchengine */
if (urls[url].match(/\s+/) || urls[url].match(/\.|:|\//) == null) if (urls[url].match(/\s+/) || urls[url].match(/\.|:|\//) == null)
urls[url] = g_searchengines[0][1].replace(/%s/, encodeURIComponent(urls[url])); urls[url] = g_searchengines[0][1].replace(/%s/, encodeURIComponent(urls[url]));