diff --git a/core/modules/user/user.js b/core/modules/user/user.js
index 156c5aa..c96abd9 100644
--- a/core/modules/user/user.js
+++ b/core/modules/user/user.js
@@ -40,7 +40,7 @@
// If the password strength indicator is enabled, add its markup.
if (settings.password.showStrengthIndicator) {
- var passwordMeter = '
' + translate.strengthTitle + '
';
+ var passwordMeter = '' + translate.strengthTitle + '
';
$confirmInput.parent().after('');
$passwordInputParent.append(passwordMeter);
$passwordSuggestions = $passwordInputParentWrapper.find('div.password-suggestions').hide();
@@ -54,8 +54,8 @@
// Fill in the success message and set the class accordingly.
$confirmChild.html(translate['confirm' + (success ? 'Success' : 'Failure')])
.removeClass('ok error')
- .addClass(confirmClass)
- .attr('aria-live', 'assertive');
+ .addClass(confirmClass);
+ $confirmResult.attr('aria-live', 'assertive');
};
// Check the password strength.