summaryrefslogtreecommitdiff
path: root/common/content/tabs.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-02-06 23:02:36 -0500
committerKris Maglione <maglione.k@gmail.com>2011-02-06 23:02:36 -0500
commit9189715e9c15b75490d670f8ee24ea52743bd076 (patch)
treeb17a885b059f38bf6def3f49d76ec635e4f08aaa /common/content/tabs.js
parent83d86f7f024c71fd1154fda2be8ad67fde8ec5a3 (diff)
downloadpentadactyl-9189715e9c15b75490d670f8ee24ea52743bd076.tar.gz
Also add events groups for the use of plugins.
--HG-- branch : groups
Diffstat (limited to 'common/content/tabs.js')
-rw-r--r--common/content/tabs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/tabs.js b/common/content/tabs.js
index 13ec4df4..d14d8bbc 100644
--- a/common/content/tabs.js
+++ b/common/content/tabs.js
@@ -874,8 +874,8 @@ var Tabs = Module("tabs", {
tabs.timeout(function () { this.updateTabCount(); });
}
for (let event in values(["TabMove", "TabOpen", "TabClose"]))
- events.addSessionListener(tabContainer, event, callback, false);
- events.addSessionListener(tabContainer, "TabSelect", tabs.closure._onTabSelect, false);
+ events.listen(tabContainer, event, callback, false);
+ events.listen(tabContainer, "TabSelect", tabs.closure._onTabSelect, false);
},
mappings: function () {
mappings.add([modes.NORMAL], ["g0", "g^"],