Skip to content

Commit 7cf7bc5

Browse files
authored
[4.0] Password focus (#31775)
1 parent 7935d48 commit 7cf7bc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/media_source/system/js/fields/passwordview.es6.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
// Update the input type
3939
input.type = 'password';
4040

41+
// Focus the input field
42+
input.focus();
43+
4144
// Update the text for screenreaders
4245
srText.innerText = Joomla.Text._('JSHOWPASSWORD');
4346
}

0 commit comments

Comments
 (0)