Make WordPress Core


Ignore:
Timestamp:
10/10/2012 09:40:22 AM (14 years ago)
Author:
koopersmith
Message:

Media JS: Improve markup and CSS of the modal view's title.

Also improves the accuracy of closing the modal when the backdrop is clicked (which became error-prone around the title bar in [22144]).

see #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r22157 r22158  
    12971297        <script type="text/html" id="tmpl-media-modal">
    12981298                <div class="media-modal">
    1299                         <div class="media-modal-header">
    1300                                 <h3><%- title %></h3>
    1301                                 <a class="media-modal-close" href="" title="<?php esc_attr_e('Close'); ?>">&times;</a>
    1302                         </div>
     1299                        <h3 class="media-modal-title"><%- title %></h3>
     1300                        <a class="media-modal-close" href="" title="<?php esc_attr_e('Close'); ?>">&times;</a>
    13031301                        <div class="media-modal-content"></div>
    13041302                </div>
Note: See TracChangeset for help on using the changeset viewer.