1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 02:47:58 +01:00

use gBrowser#mTabContainer in preference to tabContainer

This commit is contained in:
Doug Kearns
2007-12-02 08:53:40 +00:00
parent 5e56767701
commit b9f3270e50
2 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ vimperator.Tabs = function () //{{{
// - "$" for the last tab
function indexFromSpec(spec, wrap)
{
var position = getBrowser().tabContainer.selectedIndex;
var position = getBrowser().mTabContainer.selectedIndex;
var length = getBrowser().mTabs.length;
var last = length - 1;
@@ -105,7 +105,7 @@ vimperator.Tabs = function () //{{{
return -1;
}
return getBrowser().tabContainer.selectedIndex;
return getBrowser().mTabContainer.selectedIndex;
},
// TODO: implement filter
@@ -129,7 +129,7 @@ vimperator.Tabs = function () //{{{
if (index)
return getBrowser().mTabs[index];
return getBrowser().tabContainer.selectedItem;
return getBrowser().mTabContainer.selectedItem;
},
// spec == "" moves the tab to the last position as per Vim