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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user