mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Item pane header: Only pre-cache CSL.Engine if set to bibEntry mode
This commit is contained in:
parent
5cb537274e
commit
e9dd050229
1 changed files with 3 additions and 1 deletions
|
|
@ -83,7 +83,9 @@
|
|||
];
|
||||
|
||||
this._bibEntryCache = new LRUCache();
|
||||
this._cacheCSLEngine();
|
||||
if (Zotero.Prefs.get(PREF_HEADER_MODE) === 'bibEntry') {
|
||||
this._cacheCSLEngine();
|
||||
}
|
||||
|
||||
this.title = this.querySelector('.title');
|
||||
this.titleField = this.title.querySelector('editable-text');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue