Сlose palette only when clicking on color

This commit is contained in:
Julia Radzhabova 2022-04-23 00:14:48 +03:00
parent 1d5ac86490
commit 748877a10d

View file

@ -208,7 +208,7 @@ define([
var target = $(e.target).closest('a');
var color, cmp;
if (target.length==0) return;
if (target.length==0) return false;
if (target.hasClass('color-transparent') ) {
me.clearSelection(true);