Changeset 39587 for branches/4.7
- Timestamp:
- 12/12/2016 09:33:56 AM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-admin/js/theme.js
r38855 r39587 807 807 $( document ).one( 'wp-theme-delete-success', function( event, response ) { 808 808 _this.$el.find( '.close' ).trigger( 'click' ); 809 $( '[data-slug="' + response.slug + '" ' ).css( { backgroundColor:'#faafaa' } ).fadeOut( 350, function() {809 $( '[data-slug="' + response.slug + '"]' ).css( { backgroundColor:'#faafaa' } ).fadeOut( 350, function() { 810 810 $( this ).remove(); 811 811 _themes.data.themes = _.without( _themes.data.themes, _.findWhere( _themes.data.themes, { id: response.slug } ) );
Note: See TracChangeset
for help on using the changeset viewer.