Feed abstract: Load CSS asynchronously
Probably won't fix #4091, but can't hurt.
This commit is contained in:
parent
e7b792e2d5
commit
7e225c4517
1 changed files with 1 additions and 1 deletions
|
@ -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": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue