Detecting WordPress Customizer Panel
Not sure how optimized this is, but I do believe this would work: $( ‘#widgets-right’ ).delegate( ‘#customize-theme-controls’, ‘DOMNodeInserted’, function( ev ) { $( ‘.control-section’ ).click( function() { // Do stuff }); } );