1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:47:58 +01:00

Remove config.mainWindowID tests from common/*.

This commit is contained in:
Doug Kearns
2009-06-25 21:02:06 +10:00
parent 90e3dd345f
commit ddfa294e1b
5 changed files with 10 additions and 9 deletions

View File

@@ -43,8 +43,7 @@ function Buffer() //{{{
/////////////////////////////////////////////////////////////////////////////{{{
// FIXME: This doesn't belong here.
let mainWindowID = config.mainWindowID || "main-window";
let fontSize = util.computedStyle(document.getElementById(mainWindowID)).fontSize;
let fontSize = util.computedStyle(document.getElementById(config.mainWindowID)).fontSize;
styles.registerSheet("chrome://liberator/skin/liberator.css");
let error = styles.addSheet(true, "font-size", "chrome://liberator/content/buffer.xhtml",