Skip to content

Commit 053abed

Browse files
committed
Release v2.0.8
1 parent 283d3b7 commit 053abed

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## 2.0.8dev
3+
## 2.0.8
44

55
- Fix showing the strength of the password through the status of the field.
66

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwstrength-bootstrap",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",
55
"authors": [
66
"Alejandro Blanco <alejandro.b.e@gmail.com>"

dist/pwstrength-bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Password Strength plugin for Twitter Bootstrap
3-
* Version: 2.0.7
3+
* Version: 2.0.8
44
*
55
* Copyright (c) 2008-2013 Tane Piper
66
* Copyright (c) 2013 Alejandro Blanco
@@ -561,7 +561,7 @@ var ui = {};
561561

562562
if (remove) { return; }
563563

564-
cssClass = statusClasses[cssClass];
564+
cssClass = statusClasses[Math.floor(cssClass / 2)];
565565
if (!options.ui.bootstrap2) { cssClass = "has-" + cssClass; }
566566
$container.addClass(cssClass);
567567
};

dist/pwstrength-bootstrap.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pwstrength-bootstrap.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/pwstrength.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Password Strength plugin for Twitter Bootstrap
3-
* Version: 2.0.7
3+
* Version: 2.0.8
44
*
55
* Copyright (c) 2008-2013 Tane Piper
66
* Copyright (c) 2013 Alejandro Blanco
@@ -561,7 +561,7 @@ var ui = {};
561561

562562
if (remove) { return; }
563563

564-
cssClass = statusClasses[cssClass];
564+
cssClass = statusClasses[Math.floor(cssClass / 2)];
565565
if (!options.ui.bootstrap2) { cssClass = "has-" + cssClass; }
566566
$container.addClass(cssClass);
567567
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwstrength-bootstrap",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"description": "jQuery plugin for Twitter Bootstrap that provides rulesets for visualy displaying the quality of a users typed in password.",
55
"author": "Alejandro Blanco <alejandro.b.e@gmail.com>",
66
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",

0 commit comments

Comments
 (0)