[IMP] web_editor: remove useless comment
X-original-commit: c435b7febe11aec99827fc81eb6ea62a74d82edd
This commit is contained in:
@@ -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));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user