mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 13:37:58 +01:00
Fix tab-completion with blank url separator
This commit is contained in:
@@ -1354,7 +1354,11 @@ function Completion() //{{{
|
|||||||
{
|
{
|
||||||
let numLocationCompletions = 0; // how many async completions did we already return to the caller?
|
let numLocationCompletions = 0; // how many async completions did we already return to the caller?
|
||||||
let start = 0;
|
let start = 0;
|
||||||
let skip = context.filter.match("^.*" + options["urlseparator"]); // start after the last 'urlseparator'
|
let skip = 0;
|
||||||
|
|
||||||
|
if (options["urlseparator"])
|
||||||
|
skip = context.filter.match("^.*" + options["urlseparator"]); // start after the last 'urlseparator'
|
||||||
|
|
||||||
if (skip)
|
if (skip)
|
||||||
context.advance(skip[0].length);
|
context.advance(skip[0].length);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user