mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 11:57:59 +01:00
Bump {max,min}version requirements for Muttator.
This commit is contained in:
@@ -39,27 +39,7 @@ function Tabs() //{{{
|
||||
////////////////////// PRIVATE SECTION /////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
var tabmail;
|
||||
// FIXME: doesn't belong here
|
||||
var getBrowser = (function () {
|
||||
if (config.hostApplication == "Thunderbird")
|
||||
{
|
||||
return function () {
|
||||
if (!tabmail)
|
||||
{
|
||||
tabmail = document.getElementById("tabmail");
|
||||
tabmail.__defineGetter__("mTabContainer", function () this.tabContainer);
|
||||
tabmail.__defineGetter__("mTabs", function () this.tabContainer.childNodes);
|
||||
tabmail.__defineGetter__("mCurrentTab", function () this.tabContainer.selectedItem);
|
||||
tabmail.__defineGetter__("mStrip", function () this.tabStrip);
|
||||
tabmail.__defineGetter__("browsers", function () [browser for (browser in Iterator(this.mTabs))]);
|
||||
}
|
||||
return tabmail;
|
||||
};
|
||||
}
|
||||
else
|
||||
return window.getBrowser;
|
||||
})();
|
||||
var getBrowser = config.getBrowser || window.getBrowser;
|
||||
|
||||
var alternates = [getBrowser().mCurrentTab, null];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user