summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordsnopek2017-11-21 05:36:11 (GMT)
committerolstjos2017-11-21 05:36:11 (GMT)
commitff0364bd098c8dd20c492d4c458e07bead9e4e4e (patch)
treeba2d211603bc3625bdc0057d0077735f77668819
parentec9b9a6088df972d90d5f240bdcbcad9200532f7 (diff)
Issue #2372907 by dsnopek: Style selector not keyboard-accessible
-rw-r--r--modules/media_wysiwyg/js/media_wysiwyg.format_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/media_wysiwyg/js/media_wysiwyg.format_form.js b/modules/media_wysiwyg/js/media_wysiwyg.format_form.js
index 1e1b039..708ae6d 100644
--- a/modules/media_wysiwyg/js/media_wysiwyg.format_form.js
+++ b/modules/media_wysiwyg/js/media_wysiwyg.format_form.js
@@ -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);
});
}
};