mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
* fixed some muttator warnings
* temp. moved "gm" to "g." since "gm" is taken in muttator already
This commit is contained in:
@@ -91,9 +91,14 @@ const liberator = (function () //{{{
|
||||
let classes = tabopts.filter(function (o) value.indexOf(o[0]) == -1)
|
||||
.map(function (a) a[3])
|
||||
if (!classes.length)
|
||||
{
|
||||
storage.styles.removeSheet("taboptions", null, null, null, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
storage.styles.addSheet("taboptions", "chrome://*", classes.join(",") + "{ display: none; }", true, true);
|
||||
statusline.updateTabCount();
|
||||
}
|
||||
|
||||
return value;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user