diff --git a/js/directives.js b/js/directives.js index a83fd7d1c..afbdf8cf3 100644 --- a/js/directives.js +++ b/js/directives.js @@ -250,10 +250,7 @@ angular.module('copayApp.directives') scope.$watch(attrs.ngModel, function(newValue, oldValue) { if (newValue && newValue !== '') { var info = evaluateMeter(newValue); - element.css({ - 'border-color': info.color - }); - scope[attrs.checkStrength] = info.message; + scope[attrs.checkStrength] = info; } }); } diff --git a/views/createProfile.html b/views/createProfile.html index 7503a48e9..4a1af88ce 100644 --- a/views/createProfile.html +++ b/views/createProfile.html @@ -148,10 +148,21 @@
- +
+
+
+ + +
+ + Password Strength: {{passwordStrength.message}} + +
+ +