1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 07:25:46 +01:00

Test the "tabs" feature when adding Tab* events.

This commit is contained in:
Doug Kearns
2009-07-09 05:57:45 +10:00
parent 8cb22c4c97
commit 494788e5ca

View File

@@ -353,7 +353,7 @@ function Events() //{{{
var currentMacro = "";
var lastMacro = "";
try // not every extension has a getBrowser() method
if (liberator.has("tabs"))
{
let tabcontainer = getBrowser().mTabContainer;
if (tabcontainer) // not every VIM-like extension has a tab container
@@ -391,7 +391,6 @@ function Events() //{{{
modes.show();
}, null);
}
catch (e) {}
// getBrowser().addEventListener("submit", function (event) {
// // reset buffer loading state as early as possible, important for macros