diff --git a/comment/comment.js b/comment/comment.js index 544d82fbe2d..ea19518c311 100644 --- a/comment/comment.js +++ b/comment/comment.js @@ -59,11 +59,6 @@ M.core_comment = { }, this); } scope.toggle_textarea(false); - CommentHelper.confirmoverlay = new Y.Overlay({ -bodyContent: '
'+M.str.moodle.yes+' '+M.str.moodle.no+'
', - visible: false - }); - CommentHelper.confirmoverlay.render(document.body); }, post: function() { var ta = Y.one('#dlg-content-'+this.client_id); @@ -238,7 +233,6 @@ bodyContent: '