mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 23:35:44 +01:00
use the singleton construction idiom to create vimperator.tabs
This commit is contained in:
@@ -552,7 +552,7 @@ vimperator.Mappings = function () //{{{
|
||||
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["<C-^>", "<C-6>"],
|
||||
function ()
|
||||
{
|
||||
if (vimperator.tabs.getTab() == vimperator.tabs.alternate)
|
||||
if (vimperator.tabs.alternate == null || vimperator.tabs.getTab() == vimperator.tabs.alternate)
|
||||
{
|
||||
vimperator.echoerr("E23: No alternate page");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user