Skip to content
This repository has been archived by the owner on Nov 18, 2019. It is now read-only.

isEmpty - False positives #77

Open
Zeioth opened this issue Jun 30, 2018 · 0 comments
Open

isEmpty - False positives #77

Zeioth opened this issue Jun 30, 2018 · 0 comments

Comments

@Zeioth
Copy link

Zeioth commented Jun 30, 2018

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.

@Zeioth Zeioth changed the title Bug on isEmpty isEmpty - False positives Jun 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant