diff --git a/comment/lib.php b/comment/lib.php index 12a3c370170..58bf4eae244 100644 --- a/comment/lib.php +++ b/comment/lib.php @@ -279,6 +279,7 @@ EOD; $options->env = $this->env; if ($this->env == 'block_comments') { $options->notoggle = true; + $options->autostart = true; } $PAGE->requires->js_init_call('M.core_comment.init', array($options), true);