Skip to content

Commit

Permalink
Merge pull request #17 from k2s/patch-1
Browse files Browse the repository at this point in the history
recognize that zxcvbn was loaded before
  • Loading branch information
MeTaNoV authored Jul 11, 2016
2 parents 1b76390 + 50d0741 commit e8428f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gold-password-input-strength-meter.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
},

ready: function() {
isZxcvbnLoaded = typeof zxcvbn !== "undefined";
if (!isZxcvbnLoaded) {
isZxcvbnLoaded = true;
var oScript = document.createElement("script");
Expand Down

0 comments on commit e8428f0

Please sign in to comment.