1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 15:04:11 +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 = {
get sites() util.Array.uniq(util.Array.flatten([v.sites for ([k, v] in this.userSheets)]))
};
let (array = util.Array)
{
Styles.prototype = {
get sites() array.uniq(array.flatten([v.sites for ([k, v] in this.userSheets)]))
};
}
const styles = storage.newObject("styles", Styles, false);
const highlight = storage.newObject("highlight", Highlights, false);