Skip to content

Commit

Permalink
"MDL-23917, automatically start comments block"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsheng Cai committed Aug 25, 2010
1 parent c203a27 commit e993559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions comment/lib.php
Expand Up @@ -279,6 +279,7 @@ public function output($return = true) {
$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);
Expand Down

0 comments on commit e993559

Please sign in to comment.