Make WordPress Core

Ticket #30035: 30035.diff

File 30035.diff, 578 bytes (added by ericlewis, 10 years ago)
  • src/wp-admin/js/post.js

    diff --git src/wp-admin/js/post.js src/wp-admin/js/post.js
    index 45413f8..096ae2f 100644
    jQuery(document).ready( function($) { 
    415415        }
    416416
    417417        // The form is being submitted by the user
    418         $submitButtons = $submitpost.find( ':button, :submit, a.submitdelete, #post-preview' ).on( 'click.edit-post', function( event ) {
     418        $submitButtons = $submitpost.find( ':submit, a.submitdelete, #post-preview' ).on( 'click.edit-post', function( event ) {
    419419                var $button = $(this);
    420420
    421421                if ( $button.hasClass('disabled') ) {