16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
小 |
|||
*/
if (matchMedia( 'screen and (hover: none)' ).matches) {
mw.hook( 'wikipage.content' ).add(function($content
console.log('Hook: wikipage.content, 开始移除gallery的hover效果');
$content.find( '.mw-gallery-packed-hover ' ).toggleClass( 'mw-gallery-packed-hover mw-gallery-packed' );
|