1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 19:45:46 +01:00

Make :open <noarg> behaviour match that of :tabopen/:winopen.

This commit is contained in:
Doug Kearns
2009-07-11 00:03:28 +10:00
parent c062cf48df
commit 1f7b6f4b05
4 changed files with 9 additions and 12 deletions

View File

@@ -255,15 +255,14 @@ function Browser() //{{{
"Open one or more URLs in the current tab",
function (args)
{
if (args.string)
liberator.open(args.string);
else if (args.bang)
BrowserReloadSkipCache();
args = args.string;
if (args)
liberator.open(args);
else
BrowserReload();
liberator.open("about:blank");
},
{
bang: true,
completer: function (context) completion.url(context),
literal: 0
});