WordPress.org

Make WordPress Core

Changeset 23703


Ignore:
Timestamp:
03/15/13 02:32:05 (13 months ago)
Author:
markjaquith
Message:

Wrap self.run in an anonymous function wrapper so self always gets the same scope.

props azaozz. fixes #23780

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/autosave.js

    r23693 r23703  
    512512 
    513513        this.checkPost(); 
    514         $(document).ready( self.run ); 
     514        $(document).ready( function(){ self.run(); } ); 
    515515    }, 
    516516 
Note: See TracChangeset for help on using the changeset viewer.