mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 14:35:07 +00:00
s/deffer/defer, see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b0e634031f
commit
453ab841d0
@ -1785,7 +1785,7 @@ final class WP_Internal_Pointers {
|
||||
$('<?php echo $selector; ?>').pointer( options ).pointer('open');
|
||||
};
|
||||
|
||||
if ( options.deffer_loading )
|
||||
if ( options.defer_loading )
|
||||
$(window).bind( 'load.wp-pointers', setup );
|
||||
else
|
||||
$(document).ready( setup );
|
||||
@ -1866,7 +1866,7 @@ final class WP_Internal_Pointers {
|
||||
|
||||
WP_Internal_Pointers::print_js( 'wp340_choose_image_from_library', '#choose-from-library-link', array(
|
||||
'content' => $content,
|
||||
'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left', 'deffer_loading' => true ),
|
||||
'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left', 'defer_loading' => true ),
|
||||
) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user