1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 19:32:27 +01:00

respect 'urlseparator' when completing urls

This commit is contained in:
Doug Kearns
2008-08-16 09:23:19 +00:00
parent 3d5992cb91
commit 2352723733

View File

@@ -226,7 +226,7 @@ liberator.Completion = function () //{{{
{
var completions = [];
var start = 0;
var skip = filter.match(/^(.*,\s+)(.*)/); // start after the last ", "
var skip = filter.match("^(.*" + liberator.options["urlseparator"] + ")(.*)"); // start after the last 'urlseparator'
if (skip)
{
start += skip[1].length;