mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 16:57:57 +01:00
use the singleton construction idiom to create vimperator.tabs
This commit is contained in:
@@ -1934,7 +1934,7 @@ vimperator.Commands = function () //{{{
|
||||
else if (/^\d+$/.test(args))
|
||||
{
|
||||
var index = parseInt(args, 10) - 1;
|
||||
if (index < vimperator.tabs.count())
|
||||
if (index < vimperator.tabs.count)
|
||||
vimperator.tabs.select(index, true);
|
||||
else
|
||||
vimperator.beep();
|
||||
|
||||
Reference in New Issue
Block a user