1
0
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:
Doug Kearns
2009-07-17 23:01:16 +10:00
parent 51c7f8bf70
commit bf8529d975
3 changed files with 237 additions and 229 deletions

View File

@@ -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];