Changeset 22563
- Timestamp:
- 11/14/2012 05:03:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/customize-controls.js
r22512 r22563 843 843 844 844 // Temporary accordion code. 845 var accordionFrozen = false;846 845 $('.customize-section-title').bind('click keydown', function( event ) { 847 846 … … 851 850 var clicked = $( this ).parents( '.customize-section' ); 852 851 853 if ( clicked.hasClass('cannot-expand') || accordionFrozen)852 if ( clicked.hasClass('cannot-expand') ) 854 853 return; 855 856 // Don't want to fire focus and click at same time857 accordionFrozen = true;858 setTimeout(function () {859 accordionFrozen = false;860 }, 400);861 854 862 855 // Scroll up if on #customize-section-title_tagline
Note: See TracChangeset
for help on using the changeset viewer.