1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-01 13:52:26 +01:00

Fix disabling scrollbars with guioptions. Closes issue #25.

This commit is contained in:
Kris Maglione
2010-09-26 10:00:00 -04:00
parent 4530aea0e2
commit 27ff23146e

View File

@@ -1225,7 +1225,8 @@ const Dactyl = Module("dactyl", {
let class_ = dir.map(function (dir) "html|html > xul|scrollbar[orient=" + dir + "]");
styles.addSheet(true, "scrollbar", "*",
class_.length ? class_.join(", ") + " { visibility: collapse !important; }" : "");
class_.length ? class_.join(", ") + " { visibility: collapse !important; }" : "",
true);
options.safeSetPref("layout.scrollbar.side", opts.indexOf("l") >= 0 ? 3 : 2,
"See 'guioptions' scrollbar flags.");