Commit 46e383da authored by webchick's avatar webchick

Issue #735528 follow-up by attiks: Do not backport span -> attr change.

parent 91d8707e
......@@ -492,7 +492,7 @@ $(document).bind('state:disabled', function(e) {
$(document).bind('state:required', function(e) {
if (e.trigger) {
if (e.value) {
$('.form-item, .form-wrapper').find('label').append('<abbr class="form-required" title="' + Drupal.t('This field is required.') + '">*</abbr>');
$('.form-item, .form-wrapper').find('label').append('<span class="form-required">*</span>');
else {
$('.form-item, .form-wrapper').find('label .form-required').remove();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment