Open Zeioth opened 6 years ago
This line of the directive
isEmpty: $scope.dataurl === EMPTY_IMAGE
should be
isEmpty: ($scope.dataurl === EMPTY_IMAGE || typeof $scope.dataurl === "undefined"),
Otherwise, you will get false positives.
This line of the directive
should be
Otherwise, you will get false positives.