jshint fixes for press-this.js.
Built from https://develop.svn.wordpress.org/trunk@31677 git-svn-id: http://core.svn.wordpress.org/trunk@31658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d5e42f3d3e
commit
6aff223ffb
|
@ -304,7 +304,7 @@
|
|||
|
||||
/**
|
||||
* Prepare the form data for saving.
|
||||
*/
|
||||
*/
|
||||
function prepareFormData() {
|
||||
editor && editor.save();
|
||||
|
||||
|
@ -653,7 +653,7 @@
|
|||
$settingModal = $( '.setting-modal' ),
|
||||
$modalClose = $( '.modal-close' );
|
||||
|
||||
$postOption.on( 'click', function( event ) {
|
||||
$postOption.on( 'click', function() {
|
||||
var index = $( this ).index(),
|
||||
$targetSettingModal = $settingModal.eq( index );
|
||||
|
||||
|
@ -668,7 +668,7 @@
|
|||
} );
|
||||
} );
|
||||
|
||||
$modalClose.on( 'click', function( event ) {
|
||||
$modalClose.on( 'click', function() {
|
||||
var $targetSettingModal = $( this ).parent(),
|
||||
index = $targetSettingModal.index();
|
||||
|
||||
|
@ -703,7 +703,7 @@
|
|||
$( '.post-option:first' ).focus();
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
function closeSidebar() {
|
||||
sidebarIsOpen = false;
|
||||
|
||||
|
@ -766,7 +766,7 @@
|
|||
} );
|
||||
|
||||
// Publish and Draft buttons and submit
|
||||
|
||||
|
||||
|
||||
$( '.post-actions' ).on( 'click.press-this', function( event ) {
|
||||
var $target = $( event.target );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31676';
|
||||
$wp_version = '4.2-alpha-31677';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue