mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-17 16:43:32 +02:00
Fix bug with multiple windows
This commit is contained in:
@@ -348,9 +348,12 @@ function Styles(name, store, serial)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
let (array = util.Array)
|
||||||
|
{
|
||||||
Styles.prototype = {
|
Styles.prototype = {
|
||||||
get sites() util.Array.uniq(util.Array.flatten([v.sites for ([k, v] in this.userSheets)]))
|
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user