1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 02:45:48 +01:00

Fix go=lrb again. Properly this time

This commit is contained in:
Kris Maglione
2008-12-05 14:30:45 -05:00
parent ecb44e4cd6
commit 9a395f8f6c

View File

@@ -115,7 +115,7 @@ const liberator = (function () //{{{
opts: { r: ["Right Scrollbar", "vertical"], l: ["Left Scrollbar", "vertical"], b: ["Bottom Scrollbar", "horizontal"] },
setter: function (opts)
{
let dir = ["horizontal", "vertical"].filter(function (dir) !Array.some(opts, function (o) this.opts[0] && this.opts[o][1] == dir, this), this);
let dir = ["horizontal", "vertical"].filter(function (dir) !Array.some(opts, function (o) this.opts[o] && this.opts[o][1] == dir, this), this);
let class = dir.map(function (dir) "html|html > xul|scrollbar[orient=" + dir + "]");
if (class.length)