WordPress.org

Make WordPress Core

Changeset 26896


Ignore:
Timestamp:
01/02/2014 04:17:28 AM (8 years ago)
Author:
azaozz
Message:

DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/wp-fullscreen.js

    r26876 r26896  
    403403
    404404        if ( s.$dfwTitle ) {
    405             $( '#wp-fullscreen-title-placeholder' ).before( s.$dfwTitle.removeClass('wp-fullscreen-title') ).remove();
     405            $( '#wp-fullscreen-title-placeholder' ).before( s.$dfwTitle.removeClass('wp-fullscreen-title').css( 'width', '' ) ).remove();
    406406        }
    407407
     
    518518
    519519            // Bind buttons
    520             $('#wp-fullscreen-buttons').on( 'click.wp-fullscreen', function( event ) {
    521                 var command = event.target.id && event.target.id.substr(6);
     520            $('#wp-fullscreen-buttons').on( 'click.wp-fullscreen', 'button', function( event ) {
     521                var command = event.currentTarget.id ? event.currentTarget.id.substr(6) : null;
    522522
    523523                if ( s.editor && 'tinymce' === s.mode ) {
  • trunk/src/wp-includes/class-wp-editor.php

    r26881 r26896  
    916916
    917917    <div class="fullscreen-overlay" id="fullscreen-overlay"></div>
    918     <div class="fullscreen-overlay fullscreen-fader fade-600" id="fullscreen-fader"></div>
     918    <div class="fullscreen-overlay fullscreen-fader fade-300" id="fullscreen-fader"></div>
    919919    <?php
    920920    }
  • trunk/src/wp-includes/css/editor.css

    r26880 r26896  
    1818}
    1919
    20 .mce-statusbar {
     20div.mce-statusbar {
    2121    border-top: 1px solid #eee;
    2222}
Note: See TracChangeset for help on using the changeset viewer.