mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-09-24 16:40:55 -06:00
Fixed some clone parameters
Signed-off-by: Dmitry Mazurov <dimabzz@gmail.com>
This commit is contained in:
parent
0602fcbda8
commit
281c9f4468
@ -1537,7 +1537,10 @@ function EasyMDE(options) {
|
|||||||
options.parent = this;
|
options.parent = this;
|
||||||
|
|
||||||
// Merging localizations
|
// Merging localizations
|
||||||
options = extend(localization, options, options.localization || {});
|
// First, we clone the old parameters into new
|
||||||
|
var copyOptions = extend({}, localization, options);
|
||||||
|
// Then merge with the new parameters
|
||||||
|
options = extend({}, copyOptions, options.localization || {});
|
||||||
|
|
||||||
// Check if Font Awesome needs to be auto downloaded
|
// Check if Font Awesome needs to be auto downloaded
|
||||||
var autoDownloadFA = true;
|
var autoDownloadFA = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user