Call preventDefault() on pointer 'Dismiss'. props SergeyBiryukov, johnbillion, fixes #19361.

git-svn-id: https://develop.svn.wordpress.org/trunk@19481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-11-29 18:56:13 +00:00
parent 666e76c5dc
commit 3118dd18d7
3 changed files with 4 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ function wp_default_scripts( &$scripts ) {
'broken' => __('An unidentified error has occurred.')
) );
$scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20111128', 1 );
$scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20111129', 1 );
$scripts->localize( 'wp-pointer', 'wpPointerL10n', array(
'dismiss' => __('Dismiss'),
) );