Ticket #39238: 39238.diff
File 39238.diff, 639 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/js/wp-custom-header.js
54 54 var handler = this.handlers[ id ]; 55 55 56 56 if ( 'test' in handler && handler.test( settings ) ) { 57 this.activeHandler = handler.initialize.call( handler, settings ); 57 this.activeHandler = handler; 58 handler.initialize.call( handler, settings ); 58 59 59 60 // Dispatch custom event when the video is loaded. 60 61 trigger( document, 'wp-custom-header-video-loaded' );