mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-27 15:55:46 +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",
|
"Add a bookmark",
|
||||||
function (args)
|
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 title = args["-title"] || (args.length == 0 ? buffer.title : null);
|
||||||
let keyword = args["-keyword"] || null;
|
let keyword = args["-keyword"] || null;
|
||||||
let tags = args["-tags"] || [];
|
let tags = args["-tags"] || [];
|
||||||
@@ -363,7 +363,6 @@ function Bookmarks() //{{{
|
|||||||
{
|
{
|
||||||
argCount: "?",
|
argCount: "?",
|
||||||
bang: true,
|
bang: true,
|
||||||
literal: 0,
|
|
||||||
completer: function (context, args)
|
completer: function (context, args)
|
||||||
{
|
{
|
||||||
if (!args.bang)
|
if (!args.bang)
|
||||||
|
|||||||
Reference in New Issue
Block a user