Commit e8712d94 authored by techird's avatar techird

fix bug

parent 5654ed36
...@@ -49,7 +49,7 @@ function DraftManager( minder ) { ...@@ -49,7 +49,7 @@ function DraftManager( minder ) {
} }
function save( path ) { function save( path ) {
if ( current === null ) { if ( !current ) {
create(); create();
} else { } else {
current.path = path || current.path; current.path = path || current.path;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment