Fix callback

This commit is contained in:
Kenn Jacobsen
2019-01-23 20:54:34 +01:00
committed by Sebastiaan Janssen
parent 2c40e46d56
commit 99f0e6c05a

View File

@@ -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 });
}
};
}