MediaWiki:Common.js:修订间差异

添加373字节 、​ 2021年6月6日 (星期日)
// Edit via InPageEdit
(// Edit via InPageEdit)
(// Edit via InPageEdit)
第40行:
}() );
 
/**
* Pause animations on mouseover of a designated container (.animated-container)
*
* This is so people have a chance to look at the image and click on pages they want to view.
*/
$( '#mw-content-text' ).on( 'mouseenter mouseleave', '.animated-container', function( e ) {
$( this ).find( '.animated' ).toggleClass( 'animated-paused', e.type === 'mouseenter' );
} );
/**
* Animated Site Announcement
2,099

个编辑