mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-26 03:55: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 currentMacro = "";
|
||||||
var lastMacro = "";
|
var lastMacro = "";
|
||||||
|
|
||||||
try // not every extension has a getBrowser() method
|
if (liberator.has("tabs"))
|
||||||
{
|
{
|
||||||
let tabcontainer = getBrowser().mTabContainer;
|
let tabcontainer = getBrowser().mTabContainer;
|
||||||
if (tabcontainer) // not every VIM-like extension has a tab container
|
if (tabcontainer) // not every VIM-like extension has a tab container
|
||||||
@@ -391,7 +391,6 @@ function Events() //{{{
|
|||||||
modes.show();
|
modes.show();
|
||||||
}, null);
|
}, null);
|
||||||
}
|
}
|
||||||
catch (e) {}
|
|
||||||
|
|
||||||
// getBrowser().addEventListener("submit", function (event) {
|
// getBrowser().addEventListener("submit", function (event) {
|
||||||
// // reset buffer loading state as early as possible, important for macros
|
// // reset buffer loading state as early as possible, important for macros
|
||||||
|
|||||||
Reference in New Issue
Block a user