Remove animation for admin notices, fixes #11267

git-svn-id: https://develop.svn.wordpress.org/trunk@12385 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-12-12 19:53:06 +00:00
parent 83dbfe6dc1
commit 5ba628b1a9
3 changed files with 2 additions and 8 deletions

View File

@ -172,12 +172,6 @@ showNotice = {
jQuery(document).ready( function($) {
var lastClicked = false, checks, first, last, checked;
// pulse
$('div.fade').animate( { opacity: .5 }, 200)
.animate( { opacity: 1 }, 200)
.animate( { opacity: .5 }, 200)
.animate( { opacity: 1 }, 200);
// Move .updated and .error alert boxes
$('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2');
$('div.updated, div.error').not('.below-h2').insertAfter( $('div.wrap h2:first') );

File diff suppressed because one or more lines are too long

View File

@ -61,7 +61,7 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20090102' );
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20091211' );
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20091212' );
$scripts->add_data( 'common', 'group', 1 );
$scripts->localize( 'common', 'commonL10n', array(
'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),