Merge 0ca002bd6647d0f505ec10ac2d2b4fe64b07be07 into 4240da87c092c929db4cce9d197da2fcaedf40ae

This commit is contained in:
arduanov 2015-09-13 22:35:03 +00:00
commit 009f7036c9

View File

@ -871,7 +871,7 @@ SimpleMDE.prototype.autosave = function() {
}
if(this.options.autosave.loaded !== true) {
if(localStorage.getItem(this.options.autosave.unique_id) != null)
if(localStorage.getItem(this.options.autosave.unique_id) != "")
this.codemirror.setValue(localStorage.getItem(this.options.autosave.unique_id));
this.options.autosave.loaded = true;