mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 00:45:52 +01:00
Add config.browser, config.tabbrowser. Fix mailbird. &c.
This commit is contained in:
@@ -11,6 +11,9 @@ const ConfigBase = Class(ModuleBase, {
|
||||
*/
|
||||
autocommands: [],
|
||||
|
||||
browser: window.gBrowser,
|
||||
tabbrowser: window.gBrowser,
|
||||
|
||||
get browserModes() [modes.NORMAL],
|
||||
|
||||
/**
|
||||
@@ -83,7 +86,7 @@ const ConfigBase = Class(ModuleBase, {
|
||||
* @property {number} The height (px) that is available to the output
|
||||
* window.
|
||||
*/
|
||||
get outputHeight() getBrowser().mPanelContainer.boxObject.height,
|
||||
get outputHeight() config.browser.mPanelContainer.boxObject.height,
|
||||
|
||||
/**
|
||||
* @property {[string]} A list of extra scripts in the liberator or
|
||||
|
||||
Reference in New Issue
Block a user