Changeset 41950
- Timestamp:
- 10/19/2017 06:37:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/customize-controls.js
r41948 r41950 787 787 } 788 788 789 // Remove animation class in case it was already applied.790 button.removeClass( animationClass );791 792 789 params.focusTarget.on( 'focusin', cancelReminder ); 793 790 setTimeout( function() { … … 796 793 if ( ! canceled ) { 797 794 button.addClass( animationClass ); 795 button.one( 'animationend', function() { 796 /* 797 * Remove animation class to avoid situations in Customizer where 798 * DOM nodes are moved (re-inserted) and the animation repeats. 799 */ 800 button.removeClass( animationClass ); 801 } ); 798 802 } 799 803 }, params.delay );
Note: See TracChangeset
for help on using the changeset viewer.