mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(client): freeze if empty doc
This commit is contained in:
parent
f50f767e79
commit
7b8c4d2179
@ -79,6 +79,7 @@ export default class DocTypeWidget extends TypeWidget {
|
||||
});
|
||||
} else {
|
||||
this.$content.empty();
|
||||
resolve();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user