mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-09-07 08:12:35 -06:00
update condition
This commit is contained in:
parent
c7c940c614
commit
54fa76d798
@ -879,7 +879,7 @@ function SimpleMDE(options) {
|
||||
|
||||
|
||||
// Change unique_id to uniqueId for backwards compatibility
|
||||
if(options.autosave != undefined && options.autosave.unique_id != "")
|
||||
if(options.autosave != undefined && options.autosave.unique_id != undefined && options.autosave.unique_id != "")
|
||||
options.autosave.uniqueId = options.autosave.unique_id;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user