MediaWiki:Gadget-Help.js:修订间差异

来自PlantsVsZombies Mixed
跳转到导航 跳转到搜索
(创建页面,内容为“$().ready(function(){ $('.mc-tooltips').each(function (i, e) { if(!e.children || e.children.length < 2){ return; } e.children[1].style.display = 'block'; tippy6(e.children[0], { content: e.children[1], arrow: true, theme: 'light-border', size: 'large', maxWidth: parseInt(e.children[1].dataset.size), trigger: e.children[1].dataset.trigger||'mouseenter focus' }); }); });”)
 
(没有差异)

2024年2月23日 (五) 04:31的最新版本

$().ready(function(){
    $('.mc-tooltips').each(function (i, e) {
    	if(!e.children || e.children.length < 2){
    		return;
    	}
    	e.children[1].style.display = 'block';
    	tippy6(e.children[0], {
        	content: e.children[1],
        	arrow: true,
        	theme: 'light-border',
        	size: 'large',
        	maxWidth: parseInt(e.children[1].dataset.size),
        	trigger: e.children[1].dataset.trigger||'mouseenter focus'
    	});
	});
});