mirror of
https://github.com/moodle/moodle.git
synced 2025-04-12 03:52:16 +02:00
MDL-71872 Questions: The placeholder disappears when double-clicking
This commit is contained in:
parent
b16fc54103
commit
eef7ecf914
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
|
||||
|
2
question/type/ddwtos/amd/build/ddwtos.min.js
vendored
2
question/type/ddwtos/amd/build/ddwtos.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user