Fix callback

(cherry picked from commit 99f0e6c05a)
This commit is contained in:
Kenn Jacobsen
2019-01-23 20:54:34 +01:00
committed by Sebastiaan Janssen
parent d44e0d8664
commit 0d167c4f2d
@@ -38,7 +38,7 @@ Use this directive to generate color swatches to pick from.
scope.selectedColor = color;
if (scope.onSelect) {
scope.onSelect(color);
scope.onSelect({color: color });
}
};
}