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

Move 'system' arg of Styles methods to arg 0, and add completion functions

This commit is contained in:
Kris Maglione
2008-12-19 17:11:05 -05:00
parent f5b2173979
commit 480151cc4d
7 changed files with 74 additions and 39 deletions

View File

@@ -46,8 +46,8 @@ function Buffer() //{{{
let fontSize = util.computedStyle(document.getElementById(mainWindowID)).fontSize;
styles.registerSheet("chrome://liberator/skin/liberator.css");
let error = styles.addSheet("font-size", "chrome://liberator/content/buffer.xhtml",
"body { font-size: " + fontSize + "; }", true);
let error = styles.addSheet(true, "font-size", "chrome://liberator/content/buffer.xhtml",
"body { font-size: " + fontSize + "; }");
if ("ZoomManager" in window)
{