Prevent singlefile config from overwriting the Zotero.SingleFile namespace
This commit is contained in:
parent
c90f8415b3
commit
2dd54fddf4
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
Zotero.SingleFile = {
|
||||
Zotero.SingleFile = Object.assign(Zotero.SingleFile || {}, {
|
||||
// These are defaults from SingleFile
|
||||
// Located in: zotero/resources/SingleFile/extension/core/bg/config.js
|
||||
CONFIG: {
|
||||
|
@ -95,4 +95,4 @@ Zotero.SingleFile = {
|
|||
insertSingleFileComment: true,
|
||||
blockMixedContent: false,
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue