Message info
 
To:wp-svn@lists.automattic.com From:m@wordpress.org Subject:[wp-svn] [20891] trunk/wp-admin/includes/template.php: Pointers: fix check for defer_loading, fixes #20554 Date:Thu, 24 May 2012 22:50:30 +0000 (UTC)
 

Revision
20891
Author
azaozz
Date
2012-05-24 22:50:30 +0000 (Thu, 24 May 2012)

Log Message

Pointers: fix check for defer_loading, fixes #20554

Modified Paths

Diff

Modified: trunk/wp-admin/includes/template.php (20890 => 20891)


--- trunk/wp-admin/includes/template.php	2012-05-24 22:45:27 UTC (rev 20890)
+++ trunk/wp-admin/includes/template.php	2012-05-24 22:50:30 UTC (rev 20891)
@@ -1785,7 +1785,7 @@
 				$('<?php echo $selector; ?>').pointer( options ).pointer('open');
 			};
 
-			if ( options.defer_loading )
+			if ( options.position && options.position.defer_loading )
 				$(window).bind( 'load.wp-pointers', setup );
 			else
 				$(document).ready( setup );