Feed abstract: Load CSS asynchronously

Probably won't fix #4091, but can't hurt.
This commit is contained in:
Abe Jellinek 2024-05-06 14:12:23 -04:00
parent e7b792e2d5
commit 7e225c4517

View file

@ -8,7 +8,7 @@ class FeedAbstractParent extends JSWindowActorParent {
async receiveMessage({ name, data }) { async receiveMessage({ name, data }) {
switch (name) { switch (name) {
case "getStylesheet": { case "getStylesheet": {
return Zotero.File.getResource('chrome://zotero/skin/feedAbstract.css'); return Zotero.File.getResourceAsync('chrome://zotero/skin/feedAbstract.css');
} }
case "resize": { case "resize": {