1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 01:27:59 +01:00

Remove some redundant version-specific code.

This commit is contained in:
Doug Kearns
2014-02-08 00:05:35 +11:00
parent c8b430cd8f
commit 789b44209c
8 changed files with 54 additions and 115 deletions

View File

@@ -263,16 +263,6 @@ var CommandWidgets = Class("CommandWidgets", {
}
[this.commandbar.container, this.statusbar.container].forEach(check);
// Work around a redrawing bug.
if (changed && config.haveGecko("16", "20")) {
util.delay(function () {
// Urgh.
statusline.statusBar.style.paddingRight = "1px";
DOM(statusline.statusBar).rect; // Force reflow.
statusline.statusBar.style.paddingRight = "";
}, 0);
}
if (this.initialized && loaded.mow && mow.visible)
mow.resize(false);
},