mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-09-08 08:42: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
|
// 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;
|
options.autosave.uniqueId = options.autosave.unique_id;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user