misc: change email live hint message element to be <p> (#71068)
This commit is contained in:
parent
782290516f
commit
5ead04eb54
|
@ -98,7 +98,7 @@ $(function() {
|
|||
$domain_hint_div.hide();
|
||||
return false;
|
||||
});
|
||||
$domain_hint_div.find('> span').text($domain_hint_div.find('> span').data('hint-prefix') + ' @' + suggestion + ' ?');
|
||||
$domain_hint_div.find('> p').text($domain_hint_div.find('> p').data('hint-prefix') + ' @' + suggestion + ' ?');
|
||||
$domain_hint_div.find('button.action').data('suggestion', suggestion);
|
||||
$domain_hint_div.show();
|
||||
} else if ($domain_hint_div) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% include "django/forms/widgets/email.html" %}
|
||||
{% if domains_suggested %}
|
||||
<div class="field-live-hint" style="display: none">
|
||||
<span class="message" data-hint-prefix="{% trans "Did you want to write" %}"></span>
|
||||
<p class="message" data-hint-prefix="{% trans "Did you want to write" %}"></p>
|
||||
<button class="action" type="button">{% trans "Apply fix" %}</button>
|
||||
<button class="close" type="button">
|
||||
<span class="sr-only">x</span>
|
||||
|
|
Loading…
Reference in New Issue