diff options
| author | 2023-03-04 13:57:52 +0100 | |
|---|---|---|
| committer | 2023-03-04 13:57:52 +0100 | |
| commit | 27c7367534518f1adfd9b12551a2c7a45459cab3 (patch) | |
| tree | e7e7732e55de14617f1ee6ad90cee49b443c860c /p/scripts/extra.js | |
| parent | 1c1e63c6ad27d0ebd34324b09f176b6767adc0cf (diff) | |
Improve UI/UX install process (#5147)
* less buttons on step 1
* add form-group
* jump to next step as link not as button
* improve navigation bar HTML structure
* sync password-show button with extra.js
* fix CSS
* i18n: step 4: split text strings for help text (max chars default user)
* show menu button if mobile view
* improve header layout with empty div
* step 5: button in form-actions
* improve buttons in goup-controls
* Favicon added
* Button: Font color hover btn-attention
* install check step: add subtitles
* fix .btn
* improve tabindex
* improve showPW_this()
Diffstat (limited to 'p/scripts/extra.js')
| -rw-r--r-- | p/scripts/extra.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/p/scripts/extra.js b/p/scripts/extra.js index 707719430..6fd62ac58 100644 --- a/p/scripts/extra.js +++ b/p/scripts/extra.js @@ -84,14 +84,12 @@ function init_crypto_form() { // <show password> let timeoutHide; -function showPW_this(ev) { +function showPW_this() { const id_passwordField = this.getAttribute('data-toggle'); if (this.classList.contains('active')) { hidePW(id_passwordField); } else { - if (ev.type === 'click' || ev.buttons || ev.key === ' ' || ev.key.toUpperCase() === 'ENTER') { - showPW(id_passwordField); - } + showPW(id_passwordField); } return false; } |
