1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:22:26 +01:00

fixed ]f and :b!<tab> - thanks anekos

This commit is contained in:
Martin Stubenschrott
2008-10-09 23:33:02 +00:00
parent 1b093e51cc
commit e13bfac5c1
2 changed files with 3 additions and 4 deletions

View File

@@ -1534,9 +1534,8 @@ liberator.Buffer = function () //{{{
// add the frame indicator
var doc = frames[next].document;
var indicator =
<div id="liberator-frame-indicator"/>;
doc.body.appendChild(liberator.util.xmlToDom(indicator));
var indicator = liberator.util.xmlToDom(<div id="liberator-frame-indicator"/>, doc);
doc.body.appendChild(indicator);
// remove the frame indicator
setTimeout(function () { doc.body.removeChild(indicator); }, 500);

View File

@@ -825,7 +825,7 @@ liberator.Completion = function () //{{{
var command = liberator.commands.get(cmd);
if (command && command.completer)
{
matches = str.match(/^:*\d*\w+!?\s+/);
matches = str.match(/^:*\d*\w+[\s!]\s*/);
exLength = matches ? matches[0].length : 0;
[start, completions] = command.completer.call(this, args, special);
}