Changeset 31677
- Timestamp:
- 03/08/2015 04:26:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/press-this.js
r31675 r31677 305 305 /** 306 306 * Prepare the form data for saving. 307 */ 307 */ 308 308 function prepareFormData() { 309 309 editor && editor.save(); … … 654 654 $modalClose = $( '.modal-close' ); 655 655 656 $postOption.on( 'click', function( event) {656 $postOption.on( 'click', function() { 657 657 var index = $( this ).index(), 658 658 $targetSettingModal = $settingModal.eq( index ); … … 669 669 } ); 670 670 671 $modalClose.on( 'click', function( event) {671 $modalClose.on( 'click', function() { 672 672 var $targetSettingModal = $( this ).parent(), 673 673 index = $targetSettingModal.index(); … … 704 704 } ); 705 705 } 706 706 707 707 function closeSidebar() { 708 708 sidebarIsOpen = false; … … 767 767 768 768 // Publish and Draft buttons and submit 769 769 770 770 771 771 $( '.post-actions' ).on( 'click.press-this', function( event ) {
Note: See TracChangeset
for help on using the changeset viewer.