1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 21:04:12 +01:00

Don't screw with tab height on non-Australis themes, provided that the stars align correctly during the startup process.

This commit is contained in:
Kris Maglione
2014-02-25 14:31:40 -08:00
parent 0a9b503bca
commit 30f5351d08
3 changed files with 16 additions and 3 deletions

View File

@@ -64,6 +64,12 @@ var ConfigBase = Class("ConfigBase", {
true);
});
// FIXME: May not be ready before first window opens.
AddonManager.getAddonByID("{972ce4c6-7e08-4474-a285-3208198ce6fd}", a => {
if (!a.isActive)
config.features.delete("default-theme");
});
services["dactyl:"].pages["dtd"] = () => [null, cache.get("config.dtd")];
update(services["dactyl:"].providers, {
@@ -536,7 +542,7 @@ var ConfigBase = Class("ConfigBase", {
* dactyl.has(feature) to check for a feature's presence
* in this array.
*/
features: RealSet(),
features: RealSet(["default-theme"]),
/**
* @property {string} The file extension used for command script files.