Customizer: fix stuck urls and preview white screens after repeated save and activates. Props koopersmith. fixes #20868

git-svn-id: https://develop.svn.wordpress.org/trunk@21029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-06-08 18:52:44 +00:00
parent 6e10d0d0b4
commit 6660d27cb5
3 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -547,7 +547,7 @@ if ( typeof wp === 'undefined' )
send: function( id, data ) {
var message;
data = typeof data === 'undefined' ? {} : data;
data = typeof data === 'undefined' ? null : data;
if ( ! this.url() || ! this.targetWindow() )
return;