Commit ff0364bd authored by dsnopek's avatar dsnopek Committed by joseph.olstad

Issue #2372907 by dsnopek: Style selector not keyboard-accessible

parent ec9b9a60
......@@ -25,7 +25,7 @@ Drupal.behaviors.mediaFormatForm = {
// Adding the buttons should only be done once in order to prevent multiple
// buttons from being added if part of the form is updated via AJAX
$('#media-wysiwyg-format-form').once('format', function() {
$('<a class="button fake-ok">' + Drupal.t('Submit') + '</a>').appendTo($('#media-wysiwyg-format-form')).bind('click', Drupal.media.formatForm.submit);
$('<a class="button fake-ok" href="javascript:void(0)">' + Drupal.t('Submit') + '</a>').appendTo($('#media-wysiwyg-format-form')).bind('click', Drupal.media.formatForm.submit);
});
}
};
......
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