MDL-75978 Quiz\D&D: on mobile, a moving line-wrap can bork the question
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -393,6 +393,11 @@ define([
|
||||
drop.focus();
|
||||
}
|
||||
} else {
|
||||
// Prevent the drag item drop into two drop-zone.
|
||||
if (this.getClassnameNumericSuffix(drag, 'inplace')) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.setInputValue(this.getPlace(drop), this.getChoice(drag));
|
||||
drag.removeClass('unplaced')
|
||||
.addClass('placed inplace' + this.getPlace(drop));
|
||||
|
||||
Reference in New Issue
Block a user