Skip to content

Commit

Permalink
Merge branch 'MDL-68439-master' of https://github.com/HuongNV13/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed May 21, 2020
2 parents cca063e + 51de017 commit f2d33fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion question/type/ddwtos/amd/build/ddwtos.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion question/type/ddwtos/amd/build/ddwtos.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions question/type/ddwtos/amd/src/ddwtos.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,11 @@ define(['jquery', 'core/dragdrop', 'core/key_codes'], function($, dragDrop, keys
// Is there already a drag in this drop? if so, evict it.
var oldDrag = this.getCurrentDragInPlace(this.getPlace(drop));
if (oldDrag.length !== 0) {
oldDrag.addClass('beingdragged');
oldDrag.offset(oldDrag.offset());
var currentPlace = this.getClassnameNumericSuffix(oldDrag, 'inplace');
var hiddenDrop = this.getDrop(oldDrag, currentPlace);
hiddenDrop.addClass('active');
oldDrag.addClass('beingdragged');
oldDrag.offset(hiddenDrop.offset());
this.sendDragHome(oldDrag);
}

Expand Down
Loading

0 comments on commit f2d33fc

Please sign in to comment.