mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 22:52:38 +01:00
respect 'urlseparator' when completing urls
This commit is contained in:
@@ -226,7 +226,7 @@ liberator.Completion = function () //{{{
|
|||||||
{
|
{
|
||||||
var completions = [];
|
var completions = [];
|
||||||
var start = 0;
|
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)
|
if (skip)
|
||||||
{
|
{
|
||||||
start += skip[1].length;
|
start += skip[1].length;
|
||||||
|
|||||||
Reference in New Issue
Block a user