Make animation faster for admin notices, props nacin, fixes #11267
git-svn-id: http://svn.automattic.com/wordpress/trunk@12380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83881592e2
commit
4cee15f1be
|
@ -173,10 +173,10 @@ jQuery(document).ready( function($) {
|
||||||
var lastClicked = false, checks, first, last, checked;
|
var lastClicked = false, checks, first, last, checked;
|
||||||
|
|
||||||
// pulse
|
// pulse
|
||||||
$('div.fade').animate( { opacity: .5 }, 400)
|
$('div.fade').animate( { opacity: .5 }, 200)
|
||||||
.animate( { opacity: 1 }, 400)
|
.animate( { opacity: 1 }, 200)
|
||||||
.animate( { opacity: .5 }, 400)
|
.animate( { opacity: .5 }, 200)
|
||||||
.animate( { opacity: 1 }, 400);
|
.animate( { opacity: 1 }, 200);
|
||||||
|
|
||||||
// Move .updated and .error alert boxes
|
// Move .updated and .error alert boxes
|
||||||
$('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2');
|
$('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2');
|
||||||
|
|
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( 'utils', "/wp-admin/js/utils$suffix.js", false, '20090102' );
|
||||||
|
|
||||||
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20091208' );
|
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20091211' );
|
||||||
$scripts->add_data( 'common', 'group', 1 );
|
$scripts->add_data( 'common', 'group', 1 );
|
||||||
$scripts->localize( 'common', 'commonL10n', array(
|
$scripts->localize( 'common', 'commonL10n', array(
|
||||||
'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),
|
'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),
|
||||||
|
@ -428,7 +428,7 @@ function wp_default_styles( &$styles ) {
|
||||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||||
$colors_version = '20091210';
|
$colors_version = '20091210';
|
||||||
|
|
||||||
$styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091210' );
|
$styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091211' );
|
||||||
$styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" );
|
$styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" );
|
||||||
|
|
||||||
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20091128' );
|
$styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20091128' );
|
||||||
|
|
Loading…
Reference in New Issue