Merge branch 'MDL-83502-404' of https://github.com/ferranrecio/moodle into MOODLE_404_STABLE
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
+1
-1
@@ -347,8 +347,8 @@ export default class extends BaseComponent {
|
||||
*/
|
||||
_dragOver(event) {
|
||||
const dropdata = this._processEvent(event);
|
||||
event.dataTransfer.dropEffect = (event.altKey) ? 'copy' : 'move';
|
||||
if (dropdata && !this.dropzonevisible) {
|
||||
event.dataTransfer.dropEffect = (event.altKey) ? 'copy' : 'move';
|
||||
this.dropzonevisible = true;
|
||||
this.element.classList.add(this.classes.DRAGOVER);
|
||||
this._callParentMethod('showDropZone', dropdata, event);
|
||||
|
||||
Reference in New Issue
Block a user