From 5b0e3180b4277e82ad221187de9d6b4039b4f1fe Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sun, 8 Mar 2015 16:26:33 +0000 Subject: [PATCH] jshint fixes for press-this.js. git-svn-id: https://develop.svn.wordpress.org/trunk@31677 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/press-this.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/js/press-this.js b/src/wp-admin/js/press-this.js index 0cc78e3dc4..d16510cec5 100644 --- a/src/wp-admin/js/press-this.js +++ b/src/wp-admin/js/press-this.js @@ -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 );