1111 bugfix250107.1

点击登录 看百科更方便

全站通知:

MediaWiki:Gadget-popup.js

来自War RobotsWIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:按 Ctrl-F5。
mw.loader.load("https://s1.pstatp.com/cdn/expire-1-M/tippy.js/3.4.1/themes/light-border.css","text/css");
$().ready(function(){
    $('.popup').each(function (i, e) {
    	e.children[1].style.display = 'block';
    	tippy6(e.children[0], {
        	content: e.children[1],
        	interactive: true,
        	arrow: true,
        	theme: 'light-border',
        	size: 'large',
        	maxWidth: parseInt(e.children[1].dataset.size)
    	});
	});
});