Merge branch 'MDL-53407-editing-css' of https://github.com/Dagefoerde/moodle
This commit is contained in:
+1
-1
@@ -1756,7 +1756,7 @@ class moodle_page {
|
||||
$this->add_body_class('notloggedin');
|
||||
}
|
||||
|
||||
if (!empty($USER->editing)) {
|
||||
if ($this->user_is_editing()) {
|
||||
$this->add_body_class('editing');
|
||||
if (optional_param('bui_moveid', false, PARAM_INT)) {
|
||||
$this->add_body_class('blocks-moving');
|
||||
|
||||
Reference in New Issue
Block a user