Make WordPress Core


Ignore:
Timestamp:
09/26/2012 07:57:44 PM (11 years ago)
Author:
nacin
Message:

New HiDPI spinner. Uses clean <span class="spinner"></span> markup.

Be on the lookout for weirdness.
props lessbloat. see #21456.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r22007 r22019  
    428428        <?php } ?>
    429429        jQuery('#title').unbind();
    430         jQuery('#publish, #save').click(function() { jQuery('#saving').css('display', 'inline'); });
     430        jQuery('#publish, #save').click(function() { jQuery('.press-this #publishing-actions .spinner').css('display', 'inline-block'); });
    431431
    432432        $('#tagsdiv-post_tag, #categorydiv').children('h3, .handlediv').click(function(){
     
    468468                            submit_button( __( 'Submit for Review' ), 'primary', 'review', false );
    469469                        } ?>
    470                         <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" id="saving" style="display:none;" />
     470                        <span class="spinner" style="display: none;"></span>
    471471                    </p>
    472472                    <?php if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) :
     
    587587        </div>
    588588
    589         <div id="waiting" style="display: none"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php esc_html_e( 'Loading...' ); ?></div>
     589        <div id="waiting" style="display: none"><span class="spinner"></span> <span><?php esc_html_e( 'Loading...' ); ?></span></div>
    590590
    591591        <div id="extra-fields" style="display: none"></div>
Note: See TracChangeset for help on using the changeset viewer.