Commit bdf02865 authored by alexpott's avatar alexpott

Issue #1684880 by droplet, nod_: JSHint user.

parent 286b3530
......@@ -53,7 +53,7 @@ Drupal.behaviors.password = {
}
// Only show the description box if a weakness exists in the password.
result.strength === 100 ? passwordDescription.hide() : passwordDescription.show();
passwordDescription.toggle(result.strength !== 100);
// Adjust the length of the strength indicator.
innerWrapper.find('.indicator')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment