mirror of
https://github.com/zotero/zotero.git
synced 2026-09-08 22:21:04 +00:00
Item pane header: Only pre-cache CSL.Engine if set to bibEntry mode
This commit is contained in:
parent
ace4d92136
commit
035a03fdf2
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