Merge branch 'MDL-70580-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE

This commit is contained in:
Jun Pataleta
2021-01-13 10:20:00 +08:00
3 changed files with 5 additions and 5 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -491,9 +491,9 @@ define(['jquery'], function($) {
return;
}
var item = $(e.target);
if (e.target !== e.currentTarget) {
// Get the closest tree item from the event target.
var item = $(e.target).closest('[role="treeitem"]');
if (!item.is(e.currentTarget)) {
return;
}