Ticket #35866: 35866.0.diff
File 35866.0.diff, 501 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/js/customize-base.js
diff --git src/wp-includes/js/customize-base.js src/wp-includes/js/customize-base.js index 79ba464..b4b7279 100644
window.wp = window.wp || {}; 704 704 705 705 event = event.originalEvent; 706 706 707 if ( ! this.targetWindow () )707 if ( ! this.targetWindow || ! this.targetWindow() ) { 708 708 return; 709 } 709 710 710 711 // Check to make sure the origin is valid. 711 712 if ( this.origin() && event.origin !== this.origin() )