Make WordPress Core

Ticket #30528: 30528.diff

File 30528.diff, 625 bytes (added by adamsilverstein, 10 years ago)

don't fade in fade out

  • src/wp-admin/js/editor-expand.js

     
    10081008
    10091009                                $overlay.off( 'mouseenter.focus mouseleave.focus mousemove.focus touchstart.focus' );
    10101010
    1011                                 $editor.on( 'mouseenter.focus', function() {
    1012                                         if ( $.contains( $editor.get( 0 ), document.activeElement ) || editorHasFocus ) {
    1013                                                 fadeOut();
    1014                                         }
    1015                                 } );
    1016 
    10171011                                focusLostTimer = setTimeout( function() {
    10181012                                        focusLostTimer = null;
    10191013                                        $editor.off( 'mouseenter.focus' );