1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:07:59 +01:00

fix typo - using quickmark value from 'activate' rather than tabopen for

:tabopen
This commit is contained in:
Doug Kearns
2007-08-07 12:57:45 +00:00
parent a4ac7010fc
commit 4c919b8ea0
2 changed files with 4 additions and 4 deletions

View File

@@ -1006,7 +1006,7 @@ function Commands() //{{{
function(args, special)
{
var where = special ? vimperator.NEW_TAB : vimperator.NEW_BACKGROUND_TAB;
if (vimperator.options["activate"].search(/\bquickmark\b/) > -1)
if (/\btabopen\b/.test(vimperator.options["activate"]))
where = special ? vimperator.NEW_BACKGROUND_TAB : vimperator.NEW_TAB;
if (args.length > 0)

View File

@@ -378,7 +378,7 @@ function Mappings() //{{{
function(mark)
{
vimperator.quickmarks.jumpTo(mark,
vimperator.options["activate"].search(/\bquickmark\b/) > -1 ?
/\bquickmark\b/.test(vimperator.options["activate"]) ?
vimperator.NEW_TAB : vimperator.NEW_BACKGROUND_TAB);
},
{
@@ -394,7 +394,7 @@ function Mappings() //{{{
function()
{
vimperator.open(readFromClipboard(),
vimperator.options["activate"].search(/\bpaste\b/) > -1 ?
/\bpaste\b/.test(vimperator.options["activate"]) ?
vimperator.NEW_BACKGROUND_TAB : vimperator.NEW_TAB);
},
{
@@ -489,7 +489,7 @@ function Mappings() //{{{
function()
{
vimperator.open(readFromClipboard(),
vimperator.options["activate"].search(/\bpaste\b/) > -1 ?
/\bpaste\b/.test(vimperator.options["activate"]) ?
vimperator.NEW_TAB : vimperator.NEW_BACKGROUND_TAB);
},
{