[IMP] web_editor: remove useless comment

X-original-commit: c435b7febe11aec99827fc81eb6ea62a74d82edd
This commit is contained in:
Goaman
2020-12-11 15:32:35 +00:00
committed by David Monjoie
parent 3da99844aa
commit a692cf42f4
@@ -392,8 +392,6 @@ var SnippetEditor = Widget.extend({
editor = $parent.data('snippet-editor');
}
if (isEmptyAndRemovable($parent, editor)) {
// TODO maybe this should be part of the actual Promise being
// returned by the function ?
await new Promise((resolve)=> {
setTimeout(() => editor.removeSnippet().then(resolve));
});