mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 16:47:59 +01:00
fixes:
'tag' command works once more 'source ~/' shows the matches fdopen checks whether the file exists, and throws a more-readable error if it doesn't 'help' work if the current document is a XULDocument (it shows the help in a new tab)
This commit is contained in:
@@ -33,7 +33,7 @@ function help(section, easter)
|
||||
echoerr("E478: Don't panic!");
|
||||
return;
|
||||
}
|
||||
if (arguments[3] && arguments[3].inTab)
|
||||
if ((arguments[3] && arguments[3].inTab) || !window.content.document.open)
|
||||
openURLsInNewTab("", true);
|
||||
|
||||
var doc = window.content.document;
|
||||
|
||||
Reference in New Issue
Block a user