Skip to content

Commit cdae793

Browse files
committed
fix(emails): Make Done button responsive after adding email
After adding new email in secondary email section, make the done button responsive before email verification. Allow done button to be clicked and panel to be closed. Do not change the behavior of automatically opening panel if secondary linked email is unverified. fixes: #626
1 parent c316a50 commit cdae793

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/fxa-content-server/app/scripts/templates/settings/emails.mustache

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@
7272
{{#hasSecondaryEmail}}
7373
<button type="submit" class="settings-button email-refresh primary-button enabled" title="{{ lastCheckedTime }}">{{#t}}Refresh Status{{/t}}</button>
7474

75-
<button
76-
class="settings-button {{#hasSecondaryVerifiedEmail}}cancel secondary-button enabled{{/hasSecondaryVerifiedEmail}}
77-
{{^hasSecondaryVerifiedEmail}} disabled {{/hasSecondaryVerifiedEmail}}">
75+
<button class="settings-button cancel secondary-button">
7876
{{#t}}Done{{/t}}
7977
</button>
8078
{{/hasSecondaryEmail}}

0 commit comments

Comments
 (0)