Remove animation for admin notices, fixes #11267
git-svn-id: http://svn.automattic.com/wordpress/trunk@12385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3b82000cc3
commit
bdc05e2ea2
|
@ -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
|
@ -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."),
|
||||
|
|
Loading…
Reference in New Issue