mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 14:27:59 +01:00
Fix scrollbar guioptions
This commit is contained in:
@@ -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[o][1] == dir, this), this);
|
||||
let dir = ["horizontal", "vertical"].filter(function (dir) !Array.some(opts, function (o) this.opts[0] && this.opts[o][1] == dir, this), this);
|
||||
let class = dir.map(function (dir) "html|html > xul|scrollbar[orient=" + dir + "]");
|
||||
|
||||
if (class.length)
|
||||
|
||||
Reference in New Issue
Block a user