mirror of
https://github.com/moodle/moodle.git
synced 2025-05-07 08:45:43 +02:00
This can happen when the 'dragover' event fires as has been observed in Safari. When the dataTransfer.types property of the event is null, accessing types.length throws a JavaScript error.