Make WordPress Core

Changeset 26966


Ignore:
Timestamp:
01/17/2014 12:12:21 AM (10 years ago)
Author:
azaozz
Message:

DFW: fix reference to off() when pressing Esc. Props kovshenin, see #24067.

File:
1 edited

Legend:

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

    r26896 r26966  
    482482                        event: e,
    483483                        what: 'dfw',
    484                         cb: fullscreen.off,
     484                        cb: api.off,
    485485                        condition: function(){
    486486                            if ( $('#TB_window').is(':visible') || $('.wp-dialog').is(':visible') )
     
    491491
    492492                    if ( ! $(document).triggerHandler( 'wp_CloseOnEscape', [data] ) ) {
    493                         fullscreen.off();
     493                        api.off();
    494494                    }
    495495                }
Note: See TracChangeset for help on using the changeset viewer.