Fixed drag&drop blocking link dragging
authorAlexander Ebert <ebert@woltlab.com>
Tue, 11 Oct 2016 11:58:51 +0000 (13:58 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 11 Oct 2016 11:58:51 +0000 (13:58 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/DragAndDrop.js

index 72bc07d2248699f29b8500548f10cab15e135179..96320437d277b6cba05271afea56210951a27c1d 100644 (file)
@@ -187,8 +187,7 @@ define(['Dictionary', 'EventHandler', 'Language'], function (Dictionary, EventHa
                 * @protected
                 */
                _setup: function () {
-                       // discard garbage events
-                       window.addEventListener('dragstart', function (event) { event.preventDefault(); });
+                       // discard garbage event
                        window.addEventListener('dragend', function (event) { event.preventDefault(); });
                        
                        window.addEventListener('dragover', this._dragOver.bind(this));