summaryrefslogtreecommitdiff
path: root/common/content/tabs.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2009-07-17 23:01:16 +1000
committerDoug Kearns <dougkearns@gmail.com>2009-07-17 23:01:16 +1000
commitbf8529d97578b432538ee0cff4c33900f671a06c (patch)
tree22f80c1ae9bacd1e489d34c27a8b8edcaa8038be /common/content/tabs.js
parent51c7f8bf70bd6b1d3c0590e3052a92bc1c534177 (diff)
downloadpentadactyl-bf8529d97578b432538ee0cff4c33900f671a06c.tar.gz
Bump {max,min}version requirements for Muttator.
Diffstat (limited to 'common/content/tabs.js')
-rw-r--r--common/content/tabs.js22
1 files changed, 1 insertions, 21 deletions
diff --git a/common/content/tabs.js b/common/content/tabs.js
index 4a4de4e0..4121c869 100644
--- a/common/content/tabs.js
+++ b/common/content/tabs.js
@@ -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];