diff --git a/course/lib.php b/course/lib.php index ce72a9cd96b..2f3ef230a0d 100644 --- a/course/lib.php +++ b/course/lib.php @@ -2183,7 +2183,7 @@ function course_get_cm_move(cm_info $mod, $sr = null) { if ($hasmanageactivities) { $pixicon = 'i/dragdrop'; - if ($mod->course == SITEID) { + if (!course_ajax_enabled($mod->get_course())) { // Override for course frontpage until we get drag/drop working there. $pixicon = 't/move'; }