1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-14 07:15:53 +01:00

Fix bug with multiple windows

This commit is contained in:
Kris Maglione
2008-10-31 22:49:53 +00:00
parent f0d258c8fc
commit 62fb7040e3

View File

@@ -348,9 +348,12 @@ function Styles(name, store, serial)
} }
} }
} }
Styles.prototype = { let (array = util.Array)
get sites() util.Array.uniq(util.Array.flatten([v.sites for ([k, v] in this.userSheets)])) {
}; Styles.prototype = {
get sites() array.uniq(array.flatten([v.sites for ([k, v] in this.userSheets)]))
};
}
const styles = storage.newObject("styles", Styles, false); const styles = storage.newObject("styles", Styles, false);
const highlight = storage.newObject("highlight", Highlights, false); const highlight = storage.newObject("highlight", Highlights, false);