- Timestamp:
- 12/12/2016 09:31:38 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/theme.js
r39528 r39586 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.