From e8b46229ee96426ca2539a1a5818c04d686d28d2 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 2 Feb 2016 21:33:04 +0200 Subject: [PATCH] Minor fixes on layers drag and drop on layers toolbox. --- src/uxbox/ui/workspace/toolboxes/layers.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/uxbox/ui/workspace/toolboxes/layers.cljs b/src/uxbox/ui/workspace/toolboxes/layers.cljs index 8a5f2f6ab..6072170cd 100644 --- a/src/uxbox/ui/workspace/toolboxes/layers.cljs +++ b/src/uxbox/ui/workspace/toolboxes/layers.cljs @@ -224,11 +224,10 @@ (on-drag-leave [event] (swap! local assoc :over false))] (html - [:li.group {:class (when open? "open") - :key (str (:id item)) - :draggable true} + [:li.group {:class (when open? "open")} [:div.element-list-body {:class classes + :draggable true :on-drag-start on-drag-start :on-drag-enter on-drag-enter :on-drag-leave on-drag-leave