1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Return uri from rewrite_uri instead of true.

This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-29 22:28:58 +00:00 committed by Miciah Dashiel Butler Masters
parent ff2f2e2df1
commit a0f8465770

View File

@ -15,7 +15,7 @@ if (!loaded_smartprefixes_common_code) {
* starts with "javascript:", and go to the resulting URI. * starts with "javascript:", and go to the resulting URI.
*/ */
function rewrite_uri(uri) { function rewrite_uri(uri) {
if (!elinks.bookmarks.smartprefixes) return true; if (!elinks.bookmarks.smartprefixes) return uri;
var parts = uri.split(" "); var parts = uri.split(" ");
var prefix = parts[0]; var prefix = parts[0];