From 1513b17fbfd2fd763dd02ca9f4a42ed291437678 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 11 Oct 2016 13:58:51 +0200 Subject: [PATCH] Fixed drag&drop blocking link dragging --- .../files/js/WoltLabSuite/Core/Ui/Redactor/DragAndDrop.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/DragAndDrop.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/DragAndDrop.js index 72bc07d224..96320437d2 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/DragAndDrop.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/DragAndDrop.js @@ -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)); -- 2.20.1