Commit 81cb8b9f authored by jun's avatar jun

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

parents 11e13d16 be48efc9
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment