1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-03 11:45:47 +01:00

Fix some crap.

This commit is contained in:
Kris Maglione
2009-11-09 12:54:04 -05:00
parent 9bcbc473fa
commit 4658d7e211
2 changed files with 3 additions and 3 deletions

View File

@@ -492,9 +492,9 @@ function Styles(name, store) {
*/
this.removeSheet = function (system, name, filter, css, index) {
let self = this;
if (arguments.length == 0) {
if (arguments.length == 1) {
var matches = [system];
system = sheet.system;
system = matches[0].system;
}
let sheets = system ? systemSheets : userSheets;
let names = system ? systemNames : userNames;