We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d0dba commit 101aa44Copy full SHA for 101aa44
app/code/Magento/Customer/view/frontend/web/js/show-password.js
@@ -5,7 +5,7 @@
5
6
define([
7
'jquery'
8
-], function($) {
+], function ($) {
9
'use strict';
10
11
$.widget('mage.showPassword', {
@@ -40,10 +40,11 @@ define([
40
*/
41
_showPassword: function () {
42
var passwordField = this.options.passwordSelector;
43
- $(passwordField).attr(
44
- "type",
45
- ($(passwordField).attr("type") == this.options.passwordInputType) ? this.options.textInputType : this.options.passwordInputType
+
+ $(passwordField).attr('type',
+ $(passwordField).attr('type') === this.options.passwordInputType
46
+ ? this.options.textInputType : this.options.passwordInputType
47
);
48
}
49
});
-});
50
+});
0 commit comments