Skip to content

Commit

Permalink
Merge branch 'MDL-71872-311' of https://github.com/HuongNV13/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_311_STABLE
  • Loading branch information
ilyatregubov committed Nov 3, 2021
2 parents 7bf69ea + 5215916 commit 3cb24af
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion question/type/ddimageortext/amd/build/question.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion question/type/ddimageortext/amd/src/question.js
Expand Up @@ -310,7 +310,7 @@ define(['jquery', 'core/dragdrop', 'core/key_codes'], function($, dragDrop, keys
newIndex = currentIndex + 2;

var info = dragDrop.prepare(e);
if (!info.start) {
if (!info.start || drag.hasClass('beingdragged')) {
return;
}

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion question/type/ddwtos/amd/src/ddwtos.js
Expand Up @@ -199,7 +199,7 @@ define(['jquery', 'core/dragdrop', 'core/key_codes'], function($, dragDrop, keys
drag = $(e.target).closest('.draghome');

var info = dragDrop.prepare(e);
if (!info.start) {
if (!info.start || drag.hasClass('beingdragged')) {
return;
}

Expand Down

0 comments on commit 3cb24af

Please sign in to comment.