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:
@@ -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