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:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user