Skip to content
Permalink
Browse files

MDL-58636 course: Ensure that the drag constraint has height

  • Loading branch information...
andrewnicols committed Apr 19, 2017
1 parent 937831c commit 0edc92e6bfa04f6fc4712dd4f46b4e69438d78e0
@@ -661,6 +661,10 @@ DragDrop.prototype = {
return false;
}

while (contstraint.get('scrollHeight') === 0 && !contstraint.compareTo(window.document.body)) {
contstraint = contstraint.get('parentNode');
}

courseul.all('> li').each(function(li) {
this.initCourseListing(li, contstraint);
}, this);

0 comments on commit 0edc92e

Please sign in to comment.
You can’t perform that action at this time.