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:
parent
ff2f2e2df1
commit
a0f8465770
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user