From ae31dc5abaf19f0796d1062cf0b29bf1a4e2e9ae Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 3 Feb 2016 18:24:18 +0200 Subject: [PATCH] Remove styles from svg icon rendering on layers toolbox. --- src/uxbox/ui/shapes.cljs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/uxbox/ui/shapes.cljs b/src/uxbox/ui/shapes.cljs index a31f8dade..d306812cb 100644 --- a/src/uxbox/ui/shapes.cljs +++ b/src/uxbox/ui/shapes.cljs @@ -131,8 +131,6 @@ [{:keys [data id view-box] :as shape}] (let [key (str "icon-svg-" id) view-box (apply str (interpose " " view-box)) - props {:view-box view-box :id key :key key} - attrs (merge props - (extract-style-attrs shape))] + props {:view-box view-box :id key :key key}] (html - [:svg attrs data]))) + [:svg props data])))