mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 01:14:10 +01:00
Revert "Fix: ':bmark' cannot bookmarks /['"]/ included URL."
This reverts commit fc46e6c4157406fa9706074e3932d153216a9bd3.
This commit is contained in:
@@ -347,7 +347,7 @@ function Bookmarks() //{{{
|
||||
"Add a bookmark",
|
||||
function (args)
|
||||
{
|
||||
let url = args.literalArg || buffer.URL;
|
||||
let url = args.length == 0 ? buffer.URL : args[0];
|
||||
let title = args["-title"] || (args.length == 0 ? buffer.title : null);
|
||||
let keyword = args["-keyword"] || null;
|
||||
let tags = args["-tags"] || [];
|
||||
@@ -363,7 +363,6 @@ function Bookmarks() //{{{
|
||||
{
|
||||
argCount: "?",
|
||||
bang: true,
|
||||
literal: 0,
|
||||
completer: function (context, args)
|
||||
{
|
||||
if (!args.bang)
|
||||
|
||||
Reference in New Issue
Block a user