mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 02:42:32 +02:00
respect 'urlseparator' when completing urls
This commit is contained in:
1 parent
3d5992cb91
commit
2352723733
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user