1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-29 09:25:46 +01:00

Merge branch 'master' into vimperator-2.1

Conflicts:
	common/content/buffer.js
	common/content/style.js
This commit is contained in:
Kris Maglione
2008-12-19 17:13:44 -05:00
7 changed files with 75 additions and 39 deletions

View File

@@ -124,9 +124,9 @@ const liberator = (function () //{{{
let class = dir.map(function (dir) "html|html > xul|scrollbar[orient=" + dir + "]");
if (class.length)
styles.addSheet("scrollbar", "*", class.join(", ") + " { visibility: collapse !important; }", true, true);
styles.addSheet(true, "scrollbar", "*", class.join(", ") + " { visibility: collapse !important; }");
else
styles.removeSheet("scrollbar", null, null, null, true);
styles.removeSheet(true, "scrollbar");
options.safeSetPref("layout.scrollbar.side", opts.indexOf("l") >= 0 ? 3 : 2);
},
validator: function (opts) (opts.indexOf("l") < 0 || opts.indexOf("r") < 0)
@@ -140,7 +140,7 @@ const liberator = (function () //{{{
{
let classes = [v[1] for ([k, v] in Iterator(this.opts)) if (opts.indexOf(k) < 0)];
let css = classes.length ? classes.join(",") + "{ display: none; }" : "";
styles.addSheet("taboptions", "chrome://*", css, true, true);
styles.addSheet(true, "taboptions", "chrome://*", css);
statusline.updateTabCount();
}
}