Make WordPress Core


Ignore:
Timestamp:
05/19/2011 05:35:08 AM (15 years ago)
Author:
azaozz
Message:

More IE7 fixes, see #17324

File:
1 edited

Legend:

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

    r17963 r17964  
    278278
    279279    ps.subscribe( 'showing', function() { // This event occurs while the DFW overlay blocks the UI.
    280 
    281280        $( document.body ).addClass( 'fullscreen-active' );
    282281        api.refresh_buttons();
     
    287286        api.bind_resize();
    288287        setTimeout( api.resize_textarea, 200 );
    289 
    290         s.toolbars.show();
    291288
    292289        // scroll to top so the user is not disoriented
     
    529526            }).mouseleave(function(e){
    530527                s.toolbars.removeClass('fullscreen-make-sticky');
    531                 $( document ).bind( 'mousemove.fullscreen', function(e) { bounder( 'showToolbar', 'hideToolbar', 2000 ); } );
     528
     529                if ( s.visible )
     530                    $( document ).bind( 'mousemove.fullscreen', function(e) { bounder( 'showToolbar', 'hideToolbar', 2000 ); } );
    532531            });
    533532        },
Note: See TracChangeset for help on using the changeset viewer.