Media: Wrap the embed screen's alignment setting in a div instead of a label to avoid default browser selection behavior. see #21390.

git-svn-id: http://core.svn.wordpress.org/trunk@22608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith 2012-11-16 01:49:11 +00:00
parent a5641f8814
commit c5dc0117c3

View File

@ -1682,7 +1682,7 @@ function wp_print_media_templates( $attachment ) {
<input type="text" data-setting="alt" />
</label>
<label class="setting align">
<div class="setting align">
<span><?php _e('Align'); ?></span>
<div class="button-group button-large" data-setting="align">
<button class="button" value="left">
@ -1698,7 +1698,7 @@ function wp_print_media_templates( $attachment ) {
<?php esc_attr_e('None'); ?>
</button>
</div>
</label>
</div>
<div class="setting link-to">
<span><?php _e('Link To'); ?></span>